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.001469/0.001469, 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.001779/0.001779, allocations: 220.6 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1046/0.1046, allocations: 22.93 MB / 336.1 MB, free: 12.41 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="cs",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="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.002061/0.002061, allocations: 67.89 kB / 472.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3684, allocations: 59.28 MB / 0.519 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004118/0.3725, allocations: 2.868 MB / 0.5218 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3745, allocations: 0.8808 MB / 0.5227 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.3748, allocations: 17.09 kB / 0.5227 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3751, allocations: 92.03 kB / 0.5228 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000556/0.3756, allocations: 231.7 kB / 0.523 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.3762, allocations: 173.5 kB / 0.5232 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3773, allocations: 1.095 MB / 0.5242 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.3781, allocations: 0.5754 MB / 0.5248 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.3787, allocations: 446.5 kB / 0.5252 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.3793, allocations: 0.5027 MB / 0.5257 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.3795, allocations: 116.7 kB / 0.5258 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.3797, allocations: 116.7 kB / 0.5259 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.38, allocations: 350.7 kB / 0.5263 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.3804, allocations: 396 kB / 0.5267 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3815, allocations: 1.304 MB / 0.5279 GB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3815, allocations: 0 / 0.5279 GB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3815, allocations: 1.125 kB / 0.5279 GB, free: 5.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3816, allocations: 0 / 0.5279 GB, free: 5.66 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.002572/0.3841, allocations: 1.127 MB / 0.529 GB, free: 5.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3842, allocations: 11.61 kB / 0.529 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.704e-05/0.3842, allocations: 19.12 kB / 0.5291 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.3844, allocations: 106.4 kB / 0.5292 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.3846, allocations: 80.03 kB / 0.5292 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.3853, allocations: 485.1 kB / 0.5297 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.3853, allocations: 41.97 kB / 0.5297 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.3855, allocations: 65.92 kB / 0.5298 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.3869, allocations: 0.833 MB / 0.5306 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3869, allocations: 0 / 0.5306 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.387, allocations: 22.77 kB / 0.5306 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.387, allocations: 13.91 kB / 0.5306 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3882, allocations: 0.6885 MB / 0.5313 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/0.3933, allocations: 2.421 MB / 0.5337 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.3957, allocations: 0.859 MB / 0.5345 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.3963, allocations: 355.2 kB / 0.5349 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.3963, allocations: 8.5 kB / 0.5349 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3964, allocations: 38.38 kB / 0.5349 GB, free: 2.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.086e-06/0.3964, allocations: 1.125 kB / 0.5349 GB, free: 2.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.009497/0.4059, allocations: 2.877 MB / 0.5377 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4059, allocations: 58.12 kB / 0.5378 GB, free: 0.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.4066, allocations: 473.4 kB / 0.5382 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.4067, allocations: 35.05 kB / 0.5383 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.4069, allocations: 327.4 kB / 0.5386 GB, free: 352 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.4071, allocations: 240 kB / 0.5388 GB, free: 160 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.4074, allocations: 150.4 kB / 0.5389 GB, free: 84 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.4076, allocations: 369.3 kB / 0.5393 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000901/0.4085, allocations: 436.5 kB / 0.5397 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.4096, allocations: 0.5842 MB / 0.5403 GB, free: 15.23 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.009352/0.419, allocations: 2.484 MB / 0.5427 GB, free: 13.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.419, allocations: 1.375 kB / 0.5427 GB, free: 13.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003979/0.423, allocations: 1.438 MB / 0.5441 GB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.423, allocations: 6.562 kB / 0.5441 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.423, allocations: 5 kB / 0.5441 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.4247, allocations: 358.6 kB / 0.5445 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4258, allocations: 215.7 kB / 0.5447 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.4369, allocations: 10.39 MB / 0.5548 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000962/0.4378, allocations: 46.64 kB / 0.5549 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.4379, allocations: 35.08 kB / 0.5549 GB, free: 2.75 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.0005032/0.4384, allocations: 269.7 kB / 0.5552 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.4385, allocations: 61.92 kB / 0.5552 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.4414, allocations: 1.155 MB / 0.5563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4414, allocations: 5.5 kB / 0.5563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4414, allocations: 1.781 kB / 0.5563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4414, allocations: 9.172 kB / 0.5564 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.4455, allocations: 1.92 MB / 0.5582 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4455, allocations: 1.219 kB / 0.5582 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4466, allocations: 178.4 kB / 0.5584 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.4479, allocations: 306.7 kB / 0.5587 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.448, allocations: 41.59 kB / 0.5587 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009719/0.4577, allocations: 9.861 MB / 0.5684 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4577, allocations: 3.984 kB / 0.5684 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.4614, allocations: 1.555 MB / 0.5699 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.4616, allocations: 66.09 kB / 0.57 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.4617, allocations: 29.17 kB / 0.57 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.4622, allocations: 33.45 kB / 0.57 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.4624, allocations: 57.92 kB / 0.5701 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.4625, allocations: 19.81 kB / 0.5701 GB, free: 5.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004634/0.463, allocations: 331.4 kB / 0.5704 GB, free: 5.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.463, allocations: 0 / 0.5704 GB, free: 5.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001038/0.464, allocations: 241.2 kB / 0.5706 GB, free: 5.289 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.003846/0.4679, allocations: 2.136 MB / 0.5727 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003092/0.4709, allocations: 1.742 MB / 0.5744 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4709, allocations: 0 / 0.5744 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4729, allocations: 1.232 MB / 0.5756 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4739, allocations: 173.7 kB / 0.5758 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/0.491, allocations: 8.8 MB / 0.5844 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.4915, allocations: 371.7 kB / 0.5847 GB, free: 7.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006712/0.4921, allocations: 212.8 kB / 0.5849 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.4925, allocations: 243.3 kB / 0.5852 GB, free: 6.637 MB / 430.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4926, allocations: 3.938 kB / 0.5852 GB, free: 6.633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08319/0.5757, allocations: 21.31 MB / 0.606 GB, free: 1.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.38, allocations: 15.98 kB / 0.606 GB, free: 1.688 MB / 446.1 MB " [Timeout remaining time 644] (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.696471364004537] Failed to read output from testmodel.py, exit status != 0: 15.570635647047311 15.602965571 15.215313268 Calling exit ...