Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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.00154/0.00154, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001634/0.001634, allocations: 212.5 kB / 22.25 MB, free: 5.086 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.004 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.1108/0.1108, allocations: 24.13 MB / 336.6 MB, free: 11.44 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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.002964/0.002964, allocations: 71.89 kB / 473.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3733, allocations: 59.6 MB / 0.5204 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004351/0.3777, allocations: 4.062 MB / 0.5244 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3799, allocations: 1.233 MB / 0.5256 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.3802, allocations: 15.91 kB / 0.5256 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.3805, allocations: 155.5 kB / 0.5258 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.3811, allocations: 412.6 kB / 0.5262 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008361/0.382, allocations: 287.9 kB / 0.5264 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.3841, allocations: 1.998 MB / 0.5284 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.3854, allocations: 1.069 MB / 0.5294 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3868, allocations: 0.7784 MB / 0.5302 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.3884, allocations: 0.9134 MB / 0.5311 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.3888, allocations: 218.5 kB / 0.5313 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.3892, allocations: 219.4 kB / 0.5315 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007643/0.39, allocations: 0.6395 MB / 0.5321 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.3911, allocations: 0.8399 MB / 0.5329 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.3942, allocations: 2.394 MB / 0.5353 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3942, allocations: 1.188 kB / 0.5353 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3942, allocations: 0 / 0.5353 GB, free: 1.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.966e-05/0.3942, allocations: 0.7031 kB / 0.5353 GB, free: 1.859 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005266/0.3995, allocations: 1.838 MB / 0.5371 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.3995, allocations: 11.33 kB / 0.5371 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002825/0.3998, allocations: 164.7 kB / 0.5372 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.4002, allocations: 138.7 kB / 0.5374 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.4016, allocations: 0.7516 MB / 0.5381 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.4017, allocations: 79.75 kB / 0.5382 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.402, allocations: 120.6 kB / 0.5383 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/0.405, allocations: 1.443 MB / 0.5397 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.405, allocations: 0 / 0.5397 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.4052, allocations: 40.88 kB / 0.5397 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.4052, allocations: 23.62 kB / 0.5398 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.4079, allocations: 1.274 MB / 0.541 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.4195, allocations: 6.137 MB / 0.547 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/0.4241, allocations: 1.76 MB / 0.5487 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.4253, allocations: 0.6879 MB / 0.5494 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.4254, allocations: 22.89 kB / 0.5494 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.4254, allocations: 47.78 kB / 0.5495 GB, free: 8.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.4254, allocations: 0 / 0.5495 GB, free: 8.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.01606/0.4415, allocations: 5.162 MB / 0.5545 GB, free: 5.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.4416, allocations: 73.78 kB / 0.5546 GB, free: 5.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.4427, allocations: 0.6366 MB / 0.5552 GB, free: 5.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.4429, allocations: 46.27 kB / 0.5552 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.4434, allocations: 463.4 kB / 0.5557 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006624/0.444, allocations: 436.7 kB / 0.5561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.4446, allocations: 235.5 kB / 0.5563 GB, free: 4.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.4448, allocations: 408.8 kB / 0.5567 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.4464, allocations: 0.7907 MB / 0.5575 GB, free: 3.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.4482, allocations: 0.9896 MB / 0.5585 GB, free: 2.949 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.0151/0.4633, allocations: 4.548 MB / 0.5629 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.4633, allocations: 4 kB / 0.5629 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.006587/0.4699, allocations: 2.525 MB / 0.5654 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4699, allocations: 8 kB / 0.5654 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4699, allocations: 8.031 kB / 0.5654 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/0.4728, allocations: 0.6618 MB / 0.566 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.4748, allocations: 359.5 kB / 0.5664 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.4945, allocations: 18.78 MB / 0.5847 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.496, allocations: 75.88 kB / 0.5848 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.4962, allocations: 47.98 kB / 0.5848 GB, free: 7.145 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (144): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000882/0.4971, allocations: 401.4 kB / 0.5852 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.4973, allocations: 95.38 kB / 0.5853 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004999/0.5023, allocations: 2.101 MB / 0.5874 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.5023, allocations: 16 kB / 0.5874 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5023, allocations: 4 kB / 0.5874 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.5024, allocations: 7.969 kB / 0.5874 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/0.5113, allocations: 3.926 MB / 0.5912 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.5113, allocations: 0 / 0.5912 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.5133, allocations: 323.6 kB / 0.5915 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.5154, allocations: 0.5409 MB / 0.592 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003285/0.5157, allocations: 67.95 kB / 0.5921 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/0.5319, allocations: 17.3 MB / 0.609 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5319, allocations: 4 kB / 0.609 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/0.5381, allocations: 2.766 MB / 0.6117 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.5386, allocations: 99.34 kB / 0.6118 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.5388, allocations: 55.98 kB / 0.6119 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/0.5397, allocations: 55.92 kB / 0.6119 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/0.54, allocations: 96.8 kB / 0.612 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.971e-05/0.5401, allocations: 31.98 kB / 0.612 GB, free: 9.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000713/0.5408, allocations: 463.1 kB / 0.6125 GB, free: 9.203 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5408, allocations: 0 / 0.6125 GB, free: 9.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001925/0.5428, allocations: 436 kB / 0.6129 GB, free: 8.777 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.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 (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006018/0.5488, allocations: 3.367 MB / 0.6162 GB, free: 5.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005278/0.5541, allocations: 3.115 MB / 0.6192 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5541, allocations: 4 kB / 0.6192 GB, free: 2.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003318/0.5574, allocations: 2.209 MB / 0.6214 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5589, allocations: 286.9 kB / 0.6217 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/0.5905, allocations: 15.25 MB / 0.6366 GB, free: 15.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.5916, allocations: 1.221 MB / 0.6377 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.5929, allocations: 355.3 kB / 0.6381 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.5937, allocations: 431.2 kB / 0.6385 GB, free: 13.85 MB / 494.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5937, allocations: 0 / 0.6385 GB, free: 13.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.7067, allocations: 36.68 MB / 0.6743 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.25, allocations: 11.03 kB / 0.6743 GB, free: 9.527 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_005_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_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.56365568599722] Failed to read output from testmodel.py, exit status != 0: 16.397173258003022 16.424933438 16.024786717 Calling exit ...