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.00183/0.00183, 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.002443/0.002443, allocations: 208.3 kB / 23.01 MB, free: 4.621 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.555/1.555, 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.1078/0.1078, allocations: 24.03 MB / 337.2 MB, free: 11.34 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.003168/0.003168, allocations: 67.89 kB / 473.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4018, allocations: 59.57 MB / 0.5209 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004586/0.4064, allocations: 2.868 MB / 0.5237 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.4084, allocations: 0.8903 MB / 0.5246 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.4087, allocations: 12.41 kB / 0.5246 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.409, allocations: 85.34 kB / 0.5247 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.4094, allocations: 242.9 kB / 0.5249 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.41, allocations: 166.8 kB / 0.5251 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.411, allocations: 1.102 MB / 0.5261 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008016/0.4118, allocations: 0.5719 MB / 0.5267 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006298/0.4124, allocations: 427.4 kB / 0.5271 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.4132, allocations: 479.1 kB / 0.5276 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.4133, allocations: 120.5 kB / 0.5277 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.4135, allocations: 116.2 kB / 0.5278 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.4138, allocations: 347.2 kB / 0.5281 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.4142, allocations: 412.3 kB / 0.5285 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.4156, allocations: 1.297 MB / 0.5298 GB, free: 5.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4156, allocations: 0 / 0.5298 GB, free: 5.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4156, allocations: 1.062 kB / 0.5298 GB, free: 5.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.4156, allocations: 0 / 0.5298 GB, free: 5.184 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.002588/0.4182, allocations: 1.137 MB / 0.5309 GB, free: 4.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4182, allocations: 10.05 kB / 0.5309 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.4184, allocations: 108.5 kB / 0.531 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.4186, allocations: 79.28 kB / 0.5311 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.4195, allocations: 480 kB / 0.5315 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.4196, allocations: 48.94 kB / 0.5316 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4197, allocations: 67.17 kB / 0.5317 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.4215, allocations: 0.8256 MB / 0.5325 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.4215, allocations: 0.5938 kB / 0.5325 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.4216, allocations: 24.84 kB / 0.5325 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.4216, allocations: 14.72 kB / 0.5325 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.4228, allocations: 0.6799 MB / 0.5332 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/0.4276, allocations: 2.425 MB / 0.5355 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.4297, allocations: 0.8607 MB / 0.5364 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.4303, allocations: 358.1 kB / 0.5367 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.4303, allocations: 5.312 kB / 0.5367 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.4303, allocations: 39.08 kB / 0.5368 GB, free: 1.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.043e-06/0.4303, allocations: 1.125 kB / 0.5368 GB, free: 1.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.009035/0.4394, allocations: 2.919 MB / 0.5396 GB, free: 452 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4394, allocations: 59.41 kB / 0.5397 GB, free: 388 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.4401, allocations: 485.4 kB / 0.5401 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.4401, allocations: 36.45 kB / 0.5402 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.4404, allocations: 327.1 kB / 0.5405 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.4407, allocations: 236.2 kB / 0.5407 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.441, allocations: 147 kB / 0.5408 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.4412, allocations: 369 kB / 0.5412 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008362/0.4421, allocations: 435 kB / 0.5416 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/0.443, allocations: 0.6044 MB / 0.5422 GB, free: 14.63 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.008269/0.4513, allocations: 2.482 MB / 0.5446 GB, free: 13.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.4513, allocations: 5.219 kB / 0.5446 GB, free: 13.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003766/0.455, allocations: 1.453 MB / 0.546 GB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4551, allocations: 7.5 kB / 0.546 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4551, allocations: 4.344 kB / 0.5461 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.4568, allocations: 375.6 kB / 0.5464 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009923/0.4578, allocations: 220.1 kB / 0.5466 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.4686, allocations: 10.44 MB / 0.5568 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.4695, allocations: 57.94 kB / 0.5569 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.4697, allocations: 31.08 kB / 0.5569 GB, free: 2.012 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.0005781/0.4702, allocations: 274.6 kB / 0.5572 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.4704, allocations: 62.77 kB / 0.5572 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.4734, allocations: 1.168 MB / 0.5584 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4734, allocations: 5.75 kB / 0.5584 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4734, allocations: 2.156 kB / 0.5584 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4734, allocations: 5.078 kB / 0.5584 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/0.4777, allocations: 1.948 MB / 0.5603 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4777, allocations: 5.125 kB / 0.5603 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4787, allocations: 173.8 kB / 0.5604 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.48, allocations: 327.6 kB / 0.5608 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.415e-05/0.4801, allocations: 35.09 kB / 0.5608 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009707/0.4898, allocations: 9.916 MB / 0.5705 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4898, allocations: 0 / 0.5705 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.4938, allocations: 1.58 MB / 0.572 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.4941, allocations: 63.72 kB / 0.5721 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.4943, allocations: 31.98 kB / 0.5721 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.4949, allocations: 35.95 kB / 0.5721 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.4951, allocations: 56.39 kB / 0.5722 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.4952, allocations: 19.98 kB / 0.5722 GB, free: 4.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000521/0.4957, allocations: 327.1 kB / 0.5725 GB, free: 4.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4957, allocations: 0 / 0.5725 GB, free: 4.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001437/0.4972, allocations: 248 kB / 0.5728 GB, free: 4.043 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.00411/0.5013, allocations: 2.167 MB / 0.5749 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.5048, allocations: 1.748 MB / 0.5766 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.5048, allocations: 3.938 kB / 0.5766 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.5069, allocations: 1.237 MB / 0.5778 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.508, allocations: 167.4 kB / 0.578 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.5251, allocations: 8.834 MB / 0.5866 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.5257, allocations: 379.7 kB / 0.587 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006842/0.5263, allocations: 208.8 kB / 0.5872 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/0.5269, allocations: 235.4 kB / 0.5874 GB, free: 4.582 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5269, allocations: 4 kB / 0.5874 GB, free: 4.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.6311, allocations: 21.67 MB / 0.6085 GB, free: 15.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.65, allocations: 8.891 kB / 0.6086 GB, free: 15.24 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_002_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 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.93418658990413] Failed to read output from testmodel.py, exit status != 0: 14.784529076889157 14.798920284 14.380018834 Calling exit ...