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.001466/0.001466, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001655/0.001655, allocations: 214.4 kB / 22.25 MB, free: 5.109 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.012 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.1516/0.1516, allocations: 24.13 MB / 336.6 MB, free: 11.46 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.002151/0.002151, allocations: 63.91 kB / 473.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3442, allocations: 59.59 MB / 0.5204 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004144/0.3483, allocations: 3.155 MB / 0.5235 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.35, allocations: 0.9294 MB / 0.5244 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.3502, allocations: 12.47 kB / 0.5244 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3505, allocations: 88.78 kB / 0.5245 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.3509, allocations: 235.2 kB / 0.5247 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.3514, allocations: 173.5 kB / 0.5249 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.3524, allocations: 1.101 MB / 0.526 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007664/0.3532, allocations: 0.5792 MB / 0.5265 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.3538, allocations: 435.9 kB / 0.527 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.3546, allocations: 0.503 MB / 0.5274 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.3548, allocations: 116.3 kB / 0.5276 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.355, allocations: 117.1 kB / 0.5277 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.3553, allocations: 347.2 kB / 0.528 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.3557, allocations: 478.2 kB / 0.5285 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.3572, allocations: 1.294 MB / 0.5297 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3572, allocations: 3.938 kB / 0.5297 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3572, allocations: 0 / 0.5297 GB, free: 4.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.3572, allocations: 5.125 kB / 0.5297 GB, free: 4.688 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.002482/0.3597, allocations: 1.131 MB / 0.5308 GB, free: 4.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3597, allocations: 15.02 kB / 0.5308 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.3598, allocations: 102.2 kB / 0.5309 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.36, allocations: 79.22 kB / 0.531 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.3608, allocations: 481.9 kB / 0.5315 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.3609, allocations: 41.31 kB / 0.5315 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.361, allocations: 71.22 kB / 0.5316 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.3625, allocations: 0.7788 MB / 0.5323 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3625, allocations: 1.375 kB / 0.5323 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.986e-05/0.3626, allocations: 24.56 kB / 0.5324 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.3626, allocations: 17.34 kB / 0.5324 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3639, allocations: 0.6824 MB / 0.5331 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005042/0.3689, allocations: 3.526 MB / 0.5365 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.3712, allocations: 0.8664 MB / 0.5373 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.3718, allocations: 354.4 kB / 0.5377 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.3718, allocations: 10.56 kB / 0.5377 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3719, allocations: 40.84 kB / 0.5377 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.434e-06/0.3719, allocations: 0.9375 kB / 0.5377 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.009885/0.3817, allocations: 2.914 MB / 0.5406 GB, free: 14.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3818, allocations: 57.56 kB / 0.5406 GB, free: 14.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.3826, allocations: 474.8 kB / 0.5411 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.3827, allocations: 39.77 kB / 0.5411 GB, free: 14.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.3829, allocations: 327.4 kB / 0.5414 GB, free: 14.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.3832, allocations: 234.9 kB / 0.5417 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.3835, allocations: 149.9 kB / 0.5418 GB, free: 13.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3837, allocations: 371.3 kB / 0.5422 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/0.3845, allocations: 432.8 kB / 0.5426 GB, free: 13.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/0.3855, allocations: 0.6041 MB / 0.5432 GB, free: 12.89 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.008267/0.3938, allocations: 2.475 MB / 0.5456 GB, free: 11.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.3938, allocations: 5.312 kB / 0.5456 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003625/0.3974, allocations: 1.455 MB / 0.547 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3974, allocations: 10.62 kB / 0.547 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3974, allocations: 4.344 kB / 0.547 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.3991, allocations: 380.7 kB / 0.5474 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009619/0.4, allocations: 209.9 kB / 0.5476 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.4107, allocations: 10.5 MB / 0.5578 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.4117, allocations: 45.55 kB / 0.5579 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/0.4118, allocations: 35.98 kB / 0.5579 GB, free: 204 kB / 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.000522/0.4123, allocations: 276.4 kB / 0.5582 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4124, allocations: 58.41 kB / 0.5582 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.4154, allocations: 1.167 MB / 0.5594 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4154, allocations: 5.719 kB / 0.5594 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.4154, allocations: 2.125 kB / 0.5594 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4154, allocations: 11.92 kB / 0.5594 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.4197, allocations: 2.095 MB / 0.5614 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4197, allocations: 4 kB / 0.5614 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.4208, allocations: 174.4 kB / 0.5616 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.4222, allocations: 331.4 kB / 0.5619 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.4222, allocations: 33.3 kB / 0.5619 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009513/0.4318, allocations: 9.966 MB / 0.5717 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4318, allocations: 0 / 0.5717 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.4355, allocations: 1.574 MB / 0.5732 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.4357, allocations: 70.84 kB / 0.5733 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.4359, allocations: 32.64 kB / 0.5733 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.4364, allocations: 30.25 kB / 0.5733 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.4366, allocations: 56.84 kB / 0.5734 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/0.4367, allocations: 19.7 kB / 0.5734 GB, free: 2.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005123/0.4372, allocations: 322.6 kB / 0.5737 GB, free: 2.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4372, allocations: 0 / 0.5737 GB, free: 2.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001114/0.4383, allocations: 252 kB / 0.574 GB, free: 2.207 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.003889/0.4422, allocations: 2.171 MB / 0.5761 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.4454, allocations: 1.749 MB / 0.5778 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.4454, allocations: 8.062 kB / 0.5778 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.4471, allocations: 1.236 MB / 0.579 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4482, allocations: 161.7 kB / 0.5792 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.4662, allocations: 8.853 MB / 0.5878 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.467, allocations: 0.9737 MB / 0.5888 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007127/0.4677, allocations: 208.8 kB / 0.589 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/0.4682, allocations: 235.4 kB / 0.5892 GB, free: 2.121 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4682, allocations: 0 / 0.5892 GB, free: 2.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07443/0.5426, allocations: 20.95 MB / 0.6096 GB, free: 13.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.21, allocations: 8.047 kB / 0.6097 GB, free: 13.42 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: 18.383088069036603] Failed to read output from testmodel.py, exit status != 0: 15.342806059168652 15.363718399 15.000730443 Calling exit ...