Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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.001316/0.001316, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001435/0.001435, allocations: 206.8 kB / 23.01 MB, free: 4.625 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.1099/0.1099, allocations: 24.04 MB / 337.2 MB, free: 11.33 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_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",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.003126/0.003126, allocations: 67.91 kB / 473.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3435, allocations: 59.58 MB / 0.5209 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004283/0.3478, allocations: 2.873 MB / 0.5237 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3494, allocations: 0.8903 MB / 0.5246 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.3496, allocations: 8.469 kB / 0.5246 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.3498, allocations: 92.42 kB / 0.5247 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.3503, allocations: 236.2 kB / 0.5249 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.3508, allocations: 174.1 kB / 0.5251 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.3522, allocations: 1.103 MB / 0.5262 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009813/0.3531, allocations: 0.5711 MB / 0.5267 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008196/0.354, allocations: 432 kB / 0.5271 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.355, allocations: 478.3 kB / 0.5276 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.3552, allocations: 116.4 kB / 0.5277 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.3555, allocations: 117.5 kB / 0.5278 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.3559, allocations: 346.9 kB / 0.5281 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.3564, allocations: 406.8 kB / 0.5285 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.3579, allocations: 1.298 MB / 0.5298 GB, free: 5.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3579, allocations: 0.6562 kB / 0.5298 GB, free: 5.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3579, allocations: 0 / 0.5298 GB, free: 5.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3579, allocations: 0 / 0.5298 GB, free: 5.148 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002744/0.3607, allocations: 1.136 MB / 0.5309 GB, free: 4.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.3607, allocations: 14.58 kB / 0.5309 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.3609, allocations: 102.2 kB / 0.531 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.3611, allocations: 83.78 kB / 0.5311 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009603/0.362, allocations: 481.1 kB / 0.5316 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.3621, allocations: 48.38 kB / 0.5316 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.3622, allocations: 66.55 kB / 0.5317 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.3638, allocations: 0.8239 MB / 0.5325 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3639, allocations: 0 / 0.5325 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.3639, allocations: 25.89 kB / 0.5325 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.364, allocations: 14.28 kB / 0.5325 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3652, allocations: 0.6796 MB / 0.5332 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.3705, allocations: 2.424 MB / 0.5355 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.3728, allocations: 0.8606 MB / 0.5364 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.3734, allocations: 359.2 kB / 0.5367 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.3734, allocations: 5.875 kB / 0.5367 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3735, allocations: 38.78 kB / 0.5368 GB, free: 1.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.715e-06/0.3735, allocations: 0 / 0.5368 GB, free: 1.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.009839/0.3833, allocations: 2.924 MB / 0.5396 GB, free: 412 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3833, allocations: 57.41 kB / 0.5397 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.3842, allocations: 481.5 kB / 0.5401 GB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.211e-05/0.3843, allocations: 37.34 kB / 0.5402 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.3847, allocations: 322.8 kB / 0.5405 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.385, allocations: 240.3 kB / 0.5407 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.3854, allocations: 146 kB / 0.5408 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.3857, allocations: 370.9 kB / 0.5412 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000937/0.3866, allocations: 435.2 kB / 0.5416 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.3876, allocations: 0.6018 MB / 0.5422 GB, free: 14.59 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008147/0.3958, allocations: 2.483 MB / 0.5446 GB, free: 13.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.3958, allocations: 1.25 kB / 0.5446 GB, free: 13.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00372/0.3995, allocations: 1.453 MB / 0.546 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3995, allocations: 7.062 kB / 0.5461 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3995, allocations: 5.125 kB / 0.5461 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.4013, allocations: 379.4 kB / 0.5464 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009941/0.4022, allocations: 214.9 kB / 0.5466 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.4136, allocations: 10.44 MB / 0.5568 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/0.4145, allocations: 53.19 kB / 0.5569 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.4146, allocations: 31.64 kB / 0.5569 GB, free: 1.98 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005007/0.4151, allocations: 268.5 kB / 0.5572 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4152, allocations: 58.53 kB / 0.5572 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.4181, allocations: 1.173 MB / 0.5584 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4181, allocations: 5.438 kB / 0.5584 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4181, allocations: 2.188 kB / 0.5584 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4182, allocations: 5.016 kB / 0.5584 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.4226, allocations: 1.952 MB / 0.5603 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4226, allocations: 0 / 0.5603 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.4236, allocations: 178.5 kB / 0.5604 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4249, allocations: 328.5 kB / 0.5608 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/0.425, allocations: 33.73 kB / 0.5608 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009994/0.435, allocations: 9.909 MB / 0.5705 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.435, allocations: 3.938 kB / 0.5705 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.4388, allocations: 1.574 MB / 0.572 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.4391, allocations: 67.72 kB / 0.5721 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.4392, allocations: 31.98 kB / 0.5721 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.4398, allocations: 35.95 kB / 0.5721 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.44, allocations: 60.39 kB / 0.5722 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.4401, allocations: 19.98 kB / 0.5722 GB, free: 4.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005357/0.4406, allocations: 327.1 kB / 0.5725 GB, free: 4.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4406, allocations: 0 / 0.5725 GB, free: 4.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001242/0.4419, allocations: 244 kB / 0.5728 GB, free: 4.039 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3]) * 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 (49): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003991/0.4459, allocations: 2.175 MB / 0.5749 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.449, allocations: 1.74 MB / 0.5766 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.449, allocations: 5.062 kB / 0.5766 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.4507, allocations: 1.24 MB / 0.5778 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/0.4516, allocations: 169.7 kB / 0.578 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.4681, allocations: 8.842 MB / 0.5866 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4686, allocations: 367.7 kB / 0.5869 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006799/0.4693, allocations: 212.8 kB / 0.5872 GB, free: 4.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/0.4697, allocations: 239.3 kB / 0.5874 GB, free: 4.57 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4697, allocations: 0 / 0.5874 GB, free: 4.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/0.5736, allocations: 21.67 MB / 0.6085 GB, free: 15.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.5, allocations: 0 / 0.6085 GB, free: 15.23 MB / 462.1 MB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_002_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.591667885892093] Failed to read output from testmodel.py, exit status != 0: 14.636966779828072 14.652678586 14.291400484 Calling exit ...