Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 220.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.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.105/0.105, allocations: 22.94 MB / 336.2 MB, free: 12.39 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 59.91 kB / 469.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4198, allocations: 59.28 MB / 0.5167 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002942/0.4227, allocations: 1.159 MB / 0.5178 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.425, allocations: 1.378 MB / 0.5192 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.4251, allocations: 4.812 kB / 0.5192 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.4255, allocations: 74.5 kB / 0.5193 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.4258, allocations: 94.5 kB / 0.5193 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.4263, allocations: 194.3 kB / 0.5195 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009174/0.4272, allocations: 0.6153 MB / 0.5201 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.4274, allocations: 58.33 kB / 0.5202 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.4277, allocations: 211.4 kB / 0.5204 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.4281, allocations: 199.1 kB / 0.5206 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.4281, allocations: 29.19 kB / 0.5206 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.4282, allocations: 32.22 kB / 0.5206 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.4283, allocations: 107.6 kB / 0.5207 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4285, allocations: 93.11 kB / 0.5208 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.4289, allocations: 311.3 kB / 0.5211 GB, free: 6.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4289, allocations: 0 / 0.5211 GB, free: 6.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4289, allocations: 0 / 0.5211 GB, free: 6.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.429, allocations: 0.6562 kB / 0.5211 GB, free: 6.996 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002203/0.4312, allocations: 0.6488 MB / 0.5218 GB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.4312, allocations: 10.02 kB / 0.5218 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.4312, allocations: 4.141 kB / 0.5218 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.4313, allocations: 45.97 kB / 0.5218 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.4314, allocations: 34.84 kB / 0.5219 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.4324, allocations: 374.8 kB / 0.5222 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.4324, allocations: 9.734 kB / 0.5222 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.4325, allocations: 21.23 kB / 0.5222 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.4329, allocations: 169.2 kB / 0.5224 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4329, allocations: 1.344 kB / 0.5224 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4329, allocations: 9.312 kB / 0.5224 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4329, allocations: 2.562 kB / 0.5224 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.4333, allocations: 179.2 kB / 0.5226 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.4346, allocations: 0.5846 MB / 0.5232 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.4351, allocations: 255.4 kB / 0.5234 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.4352, allocations: 84.66 kB / 0.5235 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4353, allocations: 2.625 kB / 0.5235 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4353, allocations: 35.94 kB / 0.5235 GB, free: 5.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4353, allocations: 0 / 0.5235 GB, free: 5.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006947/0.436, allocations: 304.4 kB / 0.5238 GB, free: 5.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.436, allocations: 52.81 kB / 0.5239 GB, free: 5.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.437, allocations: 440.8 kB / 0.5243 GB, free: 5.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.437, allocations: 34.83 kB / 0.5243 GB, free: 5.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.4371, allocations: 164.9 kB / 0.5245 GB, free: 5.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.4372, allocations: 61.92 kB / 0.5245 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.4373, allocations: 36.7 kB / 0.5246 GB, free: 4.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.4373, allocations: 334.6 kB / 0.5249 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4375, allocations: 87.92 kB / 0.525 GB, free: 4.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4376, allocations: 91.92 kB / 0.5251 GB, free: 4.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.438, allocations: 192.8 kB / 0.5252 GB, free: 4.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.438, allocations: 0 / 0.5252 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004165/0.4384, allocations: 256.1 kB / 0.5255 GB, free: 4.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4384, allocations: 8.781 kB / 0.5255 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4384, allocations: 5.922 kB / 0.5255 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4384, allocations: 1.281 kB / 0.5255 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.4388, allocations: 56.42 kB / 0.5255 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4388, allocations: 1.438 kB / 0.5256 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.4391, allocations: 54.08 kB / 0.5256 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.4392, allocations: 6 kB / 0.5256 GB, free: 4.328 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001512/0.4393, allocations: 165.3 kB / 0.5258 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.4394, allocations: 31.72 kB / 0.5258 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.4395, allocations: 35.61 kB / 0.5258 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4395, allocations: 2.219 kB / 0.5258 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4395, allocations: 0 / 0.5258 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4395, allocations: 5.094 kB / 0.5258 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.4399, allocations: 282.1 kB / 0.5261 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4399, allocations: 0 / 0.5261 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.4401, allocations: 28.64 kB / 0.5261 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4401, allocations: 9.188 kB / 0.5261 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.4401, allocations: 7.422 kB / 0.5261 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4401, allocations: 1.375 kB / 0.5262 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4401, allocations: 0 / 0.5262 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.4408, allocations: 450 kB / 0.5266 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.4409, allocations: 33.08 kB / 0.5266 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.4409, allocations: 10 kB / 0.5266 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.4413, allocations: 47.47 kB / 0.5267 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.4414, allocations: 14.08 kB / 0.5267 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4414, allocations: 4.062 kB / 0.5267 GB, free: 3.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008152/0.4422, allocations: 348.5 kB / 0.527 GB, free: 3.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4422, allocations: 0 / 0.527 GB, free: 3.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.4425, allocations: 44.42 kB / 0.5271 GB, free: 3.465 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0008617/0.4434, allocations: 0.9832 MB / 0.528 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.4438, allocations: 192.5 kB / 0.5282 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4438, allocations: 0 / 0.5282 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.444, allocations: 93.27 kB / 0.5283 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.4444, allocations: 49.23 kB / 0.5283 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/0.4512, allocations: 3.275 MB / 0.5315 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4515, allocations: 181.1 kB / 0.5317 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002525/0.4518, allocations: 47.42 kB / 0.5318 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.452, allocations: 89.56 kB / 0.5318 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.452, allocations: 0.5312 kB / 0.5318 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.484, allocations: 5.731 MB / 0.5374 GB, free: 15.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.4, allocations: 13.66 kB / 0.5374 GB, free: 15.46 MB / 398.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.172450829995796] Failed to read output from testmodel.py, exit status != 0: 12.567467506043613 12.591715485 12.157979705 Calling exit ...