Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_PI_awfb_full.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 104.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09375/0.09375, allocations: 22.69 MB / 325.4 MB, free: 7.914 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.61 kB / 455 MB, free: 42.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.09094, allocations: 58.03 MB / 0.501 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002257/0.0932, allocations: 1.757 MB / 0.5028 GB, free: 8.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.0936, allocations: 243.5 kB / 0.503 GB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.09368, allocations: 0 / 0.503 GB, free: 8.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.09378, allocations: 23.73 kB / 0.503 GB, free: 8.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.0939, allocations: 11.81 kB / 0.503 GB, free: 8.312 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.09403, allocations: 71.84 kB / 0.5031 GB, free: 8.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.0942, allocations: 175.6 kB / 0.5033 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.09432, allocations: 55.92 kB / 0.5033 GB, free: 8.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.09437, allocations: 55.78 kB / 0.5034 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.09445, allocations: 79.61 kB / 0.5034 GB, free: 7.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.09447, allocations: 16 kB / 0.5035 GB, free: 7.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.09449, allocations: 16 kB / 0.5035 GB, free: 7.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.09451, allocations: 19.92 kB / 0.5035 GB, free: 7.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.09457, allocations: 75.58 kB / 0.5036 GB, free: 7.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.09471, allocations: 147.2 kB / 0.5037 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.09471, allocations: 0 / 0.5037 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09471, allocations: 0 / 0.5037 GB, free: 7.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09472, allocations: 4 kB / 0.5037 GB, free: 7.605 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004414/0.09516, allocations: 498.2 kB / 0.5042 GB, free: 7.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09519, allocations: 8.031 kB / 0.5042 GB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.09523, allocations: 58.67 kB / 0.5042 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.09527, allocations: 20.8 kB / 0.5043 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.09546, allocations: 212.2 kB / 0.5045 GB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.09548, allocations: 12.38 kB / 0.5045 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.09551, allocations: 20.38 kB / 0.5045 GB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.0958, allocations: 149.9 kB / 0.5046 GB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.09581, allocations: 7.922 kB / 0.5047 GB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.09583, allocations: 8 kB / 0.5047 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.09583, allocations: 8 kB / 0.5047 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.09609, allocations: 96.69 kB / 0.5048 GB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.09666, allocations: 492.1 kB / 0.5052 GB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.09685, allocations: 86.53 kB / 0.5053 GB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.09698, allocations: 64.83 kB / 0.5054 GB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.097, allocations: 7.922 kB / 0.5054 GB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.09723, allocations: 153 kB / 0.5055 GB, free: 5.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.09723, allocations: 0 / 0.5055 GB, free: 5.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006425/0.09787, allocations: 361.4 kB / 0.5059 GB, free: 5.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.09791, allocations: 118.8 kB / 0.506 GB, free: 5.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.09797, allocations: 136.6 kB / 0.5061 GB, free: 4.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.09799, allocations: 33.7 kB / 0.5061 GB, free: 4.863 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.09802, allocations: 120.4 kB / 0.5063 GB, free: 4.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.09805, allocations: 59.58 kB / 0.5063 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.09811, allocations: 49.69 kB / 0.5064 GB, free: 4.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.09814, allocations: 330.8 kB / 0.5067 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.09828, allocations: 55.95 kB / 0.5067 GB, free: 4.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.09843, allocations: 128.4 kB / 0.5069 GB, free: 4.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.09872, allocations: 263.2 kB / 0.5071 GB, free: 3.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.09872, allocations: 0 / 0.5071 GB, free: 3.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004244/0.09914, allocations: 320.9 kB / 0.5074 GB, free: 3.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.09918, allocations: 72.58 kB / 0.5075 GB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.09918, allocations: 4 kB / 0.5075 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.0992, allocations: 0 / 0.5075 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.09934, allocations: 27.97 kB / 0.5075 GB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.09935, allocations: 7.938 kB / 0.5075 GB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.09948, allocations: 31.81 kB / 0.5076 GB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.0995, allocations: 12.09 kB / 0.5076 GB, free: 3.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.09959, allocations: 179.5 kB / 0.5077 GB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.09961, allocations: 23.78 kB / 0.5078 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.1001, allocations: 341.1 kB / 0.5081 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1001, allocations: 0 / 0.5081 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1001, allocations: 0 / 0.5081 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1001, allocations: 0 / 0.5081 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1002, allocations: 253.4 kB / 0.5083 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1002, allocations: 0 / 0.5083 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1004, allocations: 15.98 kB / 0.5083 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1004, allocations: 7.938 kB / 0.5083 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1004, allocations: 11.98 kB / 0.5084 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1004, allocations: 0 / 0.5084 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1004, allocations: 7.938 kB / 0.5084 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.101, allocations: 453.5 kB / 0.5088 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.1011, allocations: 92.98 kB / 0.5089 GB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1011, allocations: 4 kB / 0.5089 GB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1012, allocations: 32.03 kB / 0.5089 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.1013, allocations: 19.97 kB / 0.5089 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1013, allocations: 8 kB / 0.5089 GB, free: 1.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.1013, allocations: 99.27 kB / 0.509 GB, free: 1.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1013, allocations: 0 / 0.509 GB, free: 1.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1016, allocations: 51.83 kB / 0.5091 GB, free: 1.605 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007933/0.1024, allocations: 1.002 MB / 0.5101 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.1028, allocations: 295.6 kB / 0.5104 GB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1028, allocations: 0 / 0.5104 GB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.103, allocations: 147.4 kB / 0.5105 GB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1032, allocations: 15.94 kB / 0.5105 GB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.1059, allocations: 2.122 MB / 0.5126 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1062, allocations: 0.7119 MB / 0.5133 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.553e-05/0.1063, allocations: 20.64 kB / 0.5133 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.1063, allocations: 39.42 kB / 0.5133 GB, free: 13.02 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1063, allocations: 0 / 0.5133 GB, free: 13.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1323, allocations: 3.367 MB / 0.5166 GB, free: 9.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/7.846, allocations: 7.047 kB / 0.5166 GB, free: 9.727 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_digital_PI_awfb_full_fmu --startTime=0 --stopTime=120 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.367408623918891] Failed to read output from testmodel.py, exit status != 0: 7.914236542303115 7.93952276 7.840222188 Calling exit ...