Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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.001903/0.001903, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002173/0.002173, allocations: 219 kB / 22.26 MB, free: 5.121 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.965 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.1083/0.1083, allocations: 24.12 MB / 336.6 MB, free: 11.43 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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.002365/0.002365, allocations: 63.89 kB / 473.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3511, allocations: 59.6 MB / 0.5204 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004358/0.3555, allocations: 3.989 MB / 0.5243 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3575, allocations: 1.203 MB / 0.5255 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.3579, allocations: 19.62 kB / 0.5255 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.3582, allocations: 161.5 kB / 0.5257 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006102/0.3588, allocations: 399.5 kB / 0.526 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.3596, allocations: 279.7 kB / 0.5263 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.3617, allocations: 1.973 MB / 0.5282 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.3631, allocations: 1.042 MB / 0.5293 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3645, allocations: 0.7563 MB / 0.53 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.366, allocations: 0.8938 MB / 0.5309 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.3664, allocations: 216.3 kB / 0.5311 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.3668, allocations: 217.4 kB / 0.5313 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006472/0.3675, allocations: 0.6403 MB / 0.5319 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.3686, allocations: 0.824 MB / 0.5327 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.3717, allocations: 2.369 MB / 0.535 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3717, allocations: 0 / 0.535 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3717, allocations: 0 / 0.535 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.475e-05/0.3718, allocations: 0 / 0.535 GB, free: 1.945 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005476/0.3773, allocations: 1.803 MB / 0.5368 GB, free: 1.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3773, allocations: 11.33 kB / 0.5368 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002965/0.3776, allocations: 159.4 kB / 0.537 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.378, allocations: 138.9 kB / 0.5371 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.3795, allocations: 0.7407 MB / 0.5378 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.3796, allocations: 79.36 kB / 0.5379 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.3799, allocations: 115.6 kB / 0.538 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.383, allocations: 1.423 MB / 0.5394 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.383, allocations: 0 / 0.5394 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.3832, allocations: 40.72 kB / 0.5394 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.3832, allocations: 27.75 kB / 0.5394 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.3859, allocations: 1.261 MB / 0.5407 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.398, allocations: 6.098 MB / 0.5466 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/0.4026, allocations: 1.758 MB / 0.5484 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.4038, allocations: 0.6861 MB / 0.549 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.4039, allocations: 18.64 kB / 0.549 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.404, allocations: 43.75 kB / 0.5491 GB, free: 8.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 5.55e-06/0.404, allocations: 3.984 kB / 0.5491 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.01115/0.4151, allocations: 4.305 MB / 0.5533 GB, free: 6.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.4152, allocations: 61.31 kB / 0.5533 GB, free: 6.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4163, allocations: 0.608 MB / 0.5539 GB, free: 6.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.4165, allocations: 41.3 kB / 0.554 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.417, allocations: 461.8 kB / 0.5544 GB, free: 5.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006984/0.4177, allocations: 414.8 kB / 0.5548 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004866/0.4182, allocations: 220.9 kB / 0.555 GB, free: 5.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002693/0.4185, allocations: 408.6 kB / 0.5554 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4198, allocations: 0.7495 MB / 0.5562 GB, free: 4.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4214, allocations: 0.946 MB / 0.5571 GB, free: 3.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.4244, allocations: 1.788 MB / 0.5588 GB, free: 2.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4244, allocations: 1.625 kB / 0.5588 GB, free: 2.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004768/0.4292, allocations: 2.247 MB / 0.561 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.4292, allocations: 11.94 kB / 0.561 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.4293, allocations: 11.92 kB / 0.561 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/0.4308, allocations: 412.3 kB / 0.5614 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.4329, allocations: 395.5 kB / 0.5618 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.4473, allocations: 14.75 MB / 0.5762 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.4487, allocations: 79.98 kB / 0.5763 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.4489, allocations: 47.94 kB / 0.5763 GB, free: 104 kB / 414.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: 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 (150): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001/0.4499, allocations: 399.3 kB / 0.5767 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.4501, allocations: 87.47 kB / 0.5768 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.454, allocations: 1.806 MB / 0.5786 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.454, allocations: 8 kB / 0.5786 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.454, allocations: 12 kB / 0.5786 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.454, allocations: 3.984 kB / 0.5786 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00717/0.4612, allocations: 3.592 MB / 0.5821 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4612, allocations: 0 / 0.5821 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/0.4633, allocations: 355.6 kB / 0.5824 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.4644, allocations: 340.5 kB / 0.5828 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.4646, allocations: 67.95 kB / 0.5828 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.4771, allocations: 13.88 MB / 0.5964 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4771, allocations: 8.125 kB / 0.5964 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/0.482, allocations: 2.499 MB / 0.5988 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4824, allocations: 95.45 kB / 0.5989 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.4826, allocations: 55.97 kB / 0.599 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.4833, allocations: 55.94 kB / 0.599 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.4836, allocations: 92.7 kB / 0.5991 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.4837, allocations: 23.98 kB / 0.5991 GB, free: 7.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006435/0.4843, allocations: 434.8 kB / 0.5995 GB, free: 6.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4843, allocations: 0 / 0.5995 GB, free: 6.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0014/0.4857, allocations: 396 kB / 0.5999 GB, free: 6.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004971/0.4907, allocations: 3.103 MB / 0.603 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004508/0.4952, allocations: 2.727 MB / 0.6056 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4952, allocations: 0 / 0.6056 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002644/0.4978, allocations: 1.864 MB / 0.6074 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.4992, allocations: 298.6 kB / 0.6077 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/0.5276, allocations: 14.88 MB / 0.6223 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.5288, allocations: 1.187 MB / 0.6234 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001337/0.5301, allocations: 351 kB / 0.6238 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/0.531, allocations: 419.2 kB / 0.6242 GB, free: 13.09 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.531, allocations: 0 / 0.6242 GB, free: 13.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/0.6532, allocations: 33.04 MB / 0.6564 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/15.93, allocations: 8 kB / 0.6564 GB, free: 12.38 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.230297430884093] Failed to read output from testmodel.py, exit status != 0: 16.05668221693486 16.072533122 15.697506617 Calling exit ...