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.00134/0.00134, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001727/0.001727, allocations: 212.6 kB / 23.04 MB, free: 5.082 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1054/0.1054, allocations: 22.93 MB / 336.2 MB, free: 12.62 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.00202/0.00202, allocations: 63.89 kB / 472.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 59.28 MB / 0.5191 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004178/0.3342, allocations: 3.144 MB / 0.5222 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.336, allocations: 0.9382 MB / 0.5231 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.3363, allocations: 13.03 kB / 0.5231 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.3365, allocations: 88.17 kB / 0.5232 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.3371, allocations: 231.3 kB / 0.5234 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.3376, allocations: 169.5 kB / 0.5236 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.3391, allocations: 1.102 MB / 0.5247 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009827/0.34, allocations: 0.5697 MB / 0.5252 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.3408, allocations: 442.1 kB / 0.5256 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.3415, allocations: 0.5043 MB / 0.5261 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.3417, allocations: 116.6 kB / 0.5262 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3419, allocations: 117 kB / 0.5263 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.3422, allocations: 345.5 kB / 0.5267 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.3426, allocations: 485.9 kB / 0.5271 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3442, allocations: 1.291 MB / 0.5284 GB, free: 5.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3442, allocations: 0 / 0.5284 GB, free: 5.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3442, allocations: 0 / 0.5284 GB, free: 5.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.3442, allocations: 0 / 0.5284 GB, free: 5.332 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.002783/0.347, allocations: 1.135 MB / 0.5295 GB, free: 4.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.347, allocations: 10.98 kB / 0.5295 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.856e-05/0.3471, allocations: 15.28 kB / 0.5295 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.3472, allocations: 102.8 kB / 0.5296 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.3474, allocations: 79.44 kB / 0.5297 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.3482, allocations: 480.5 kB / 0.5302 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.3483, allocations: 41 kB / 0.5302 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.3484, allocations: 75.23 kB / 0.5303 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3499, allocations: 0.7745 MB / 0.531 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3499, allocations: 1.312 kB / 0.531 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.237e-05/0.35, allocations: 24.94 kB / 0.5311 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.35, allocations: 13.22 kB / 0.5311 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3511, allocations: 0.6807 MB / 0.5317 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005363/0.3565, allocations: 3.527 MB / 0.5352 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.3587, allocations: 0.8659 MB / 0.536 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.3592, allocations: 357.8 kB / 0.5364 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.3593, allocations: 5.219 kB / 0.5364 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3593, allocations: 42.06 kB / 0.5364 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.826e-06/0.3593, allocations: 1.031 kB / 0.5364 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.009518/0.3688, allocations: 2.877 MB / 0.5392 GB, free: 15.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.3689, allocations: 60.94 kB / 0.5393 GB, free: 15.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.3696, allocations: 472.8 kB / 0.5397 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.3698, allocations: 33.95 kB / 0.5398 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.37, allocations: 323.7 kB / 0.5401 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.3704, allocations: 234.8 kB / 0.5403 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.3707, allocations: 149 kB / 0.5404 GB, free: 14.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3709, allocations: 373.1 kB / 0.5408 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/0.3718, allocations: 432.5 kB / 0.5412 GB, free: 14.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.3728, allocations: 0.5926 MB / 0.5418 GB, free: 13.75 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.00887/0.3817, allocations: 2.489 MB / 0.5442 GB, free: 12.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.3817, allocations: 1.375 kB / 0.5442 GB, free: 12.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003934/0.3856, allocations: 1.437 MB / 0.5456 GB, free: 11.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.3856, allocations: 11.69 kB / 0.5456 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3856, allocations: 4.312 kB / 0.5456 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.3874, allocations: 369.8 kB / 0.546 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3884, allocations: 211 kB / 0.5462 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.3997, allocations: 10.44 MB / 0.5564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/0.4006, allocations: 53.03 kB / 0.5564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.4008, allocations: 35.14 kB / 0.5565 GB, free: 1.082 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.0006233/0.4014, allocations: 265.6 kB / 0.5567 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.4016, allocations: 62.42 kB / 0.5568 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.4048, allocations: 1.145 MB / 0.5579 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4048, allocations: 6.219 kB / 0.5579 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4048, allocations: 1.375 kB / 0.5579 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4049, allocations: 5.453 kB / 0.5579 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/0.4096, allocations: 2.071 MB / 0.5599 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4096, allocations: 0 / 0.5599 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.4107, allocations: 174.1 kB / 0.5601 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.4122, allocations: 314.8 kB / 0.5604 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.4123, allocations: 37.7 kB / 0.5604 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.4225, allocations: 9.909 MB / 0.5701 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4225, allocations: 0 / 0.5701 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.4268, allocations: 1.56 MB / 0.5716 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.4271, allocations: 61.62 kB / 0.5717 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.4274, allocations: 28.95 kB / 0.5717 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.428, allocations: 34.2 kB / 0.5718 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.4282, allocations: 57.42 kB / 0.5718 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.4283, allocations: 18.95 kB / 0.5718 GB, free: 3.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005271/0.4288, allocations: 326.9 kB / 0.5721 GB, free: 3.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4288, allocations: 1.125 kB / 0.5721 GB, free: 3.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001269/0.4301, allocations: 241.1 kB / 0.5724 GB, free: 3.422 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.004237/0.4343, allocations: 2.146 MB / 0.5745 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.4376, allocations: 1.742 MB / 0.5762 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4376, allocations: 0 / 0.5762 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.4395, allocations: 1.229 MB / 0.5774 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4406, allocations: 185.6 kB / 0.5775 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.4585, allocations: 8.804 MB / 0.5861 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009087/0.4594, allocations: 0.9737 MB / 0.5871 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007733/0.4602, allocations: 204.8 kB / 0.5873 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.4607, allocations: 239.4 kB / 0.5875 GB, free: 4.344 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4607, allocations: 0 / 0.5875 GB, free: 4.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07104/0.5317, allocations: 20.79 MB / 0.6078 GB, free: 15.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.1, allocations: 0 / 0.6078 GB, free: 15.83 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.373199460969772] Failed to read output from testmodel.py, exit status != 0: 15.284801900968887 15.300714198 14.953270759 Calling exit ...