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.001416/0.001416, 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.001481/0.001481, allocations: 221.2 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1043/0.1043, allocations: 22.94 MB / 336.1 MB, free: 12.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="cs",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="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.002144/0.002144, allocations: 67.89 kB / 472.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3498, allocations: 59.29 MB / 0.519 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004186/0.354, allocations: 3.579 MB / 0.5225 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3559, allocations: 1.16 MB / 0.5236 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.3561, allocations: 19.19 kB / 0.5237 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.3564, allocations: 148.1 kB / 0.5238 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.357, allocations: 402.7 kB / 0.5242 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.3577, allocations: 277.3 kB / 0.5244 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.3593, allocations: 1.977 MB / 0.5264 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.3604, allocations: 1.051 MB / 0.5274 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.3613, allocations: 0.754 MB / 0.5281 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.3626, allocations: 0.893 MB / 0.529 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.363, allocations: 216.3 kB / 0.5292 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.3635, allocations: 216.7 kB / 0.5294 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006329/0.3641, allocations: 0.633 MB / 0.53 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009001/0.365, allocations: 0.7073 MB / 0.5307 GB, free: 4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.3678, allocations: 2.376 MB / 0.5331 GB, free: 3.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3678, allocations: 5.312 kB / 0.5331 GB, free: 3.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3678, allocations: 3.938 kB / 0.5331 GB, free: 3.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.3679, allocations: 0.7031 kB / 0.5331 GB, free: 3.16 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.004721/0.3726, allocations: 1.792 MB / 0.5348 GB, free: 2.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3726, allocations: 11.05 kB / 0.5348 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.636e-05/0.3727, allocations: 26.44 kB / 0.5348 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.3729, allocations: 159.9 kB / 0.535 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.3732, allocations: 138.4 kB / 0.5351 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3745, allocations: 0.7416 MB / 0.5359 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/0.3745, allocations: 76.06 kB / 0.5359 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.3748, allocations: 115.6 kB / 0.536 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.3776, allocations: 1.456 MB / 0.5375 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3776, allocations: 0 / 0.5375 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.3777, allocations: 41.25 kB / 0.5375 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.3778, allocations: 24.7 kB / 0.5375 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.3799, allocations: 1.259 MB / 0.5388 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009679/0.3895, allocations: 4.421 MB / 0.5431 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004555/0.3941, allocations: 1.755 MB / 0.5448 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.3953, allocations: 0.6816 MB / 0.5454 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-05/0.3953, allocations: 13.75 kB / 0.5455 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.3954, allocations: 48.19 kB / 0.5455 GB, free: 12.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 3.226e-06/0.3954, allocations: 0 / 0.5455 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.00994/0.4053, allocations: 4.303 MB / 0.5497 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.4054, allocations: 61.78 kB / 0.5498 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.4064, allocations: 0.6081 MB / 0.5504 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.4065, allocations: 40.45 kB / 0.5504 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.4069, allocations: 466 kB / 0.5508 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.4074, allocations: 411 kB / 0.5512 GB, free: 8.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/0.4079, allocations: 218 kB / 0.5514 GB, free: 8.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.4081, allocations: 408.6 kB / 0.5518 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4095, allocations: 0.7445 MB / 0.5526 GB, free: 7.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.411, allocations: 0.9469 MB / 0.5535 GB, free: 7.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.4139, allocations: 1.78 MB / 0.5552 GB, free: 6.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.4139, allocations: 1.375 kB / 0.5552 GB, free: 6.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004499/0.4184, allocations: 2.261 MB / 0.5574 GB, free: 4.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.4184, allocations: 14.17 kB / 0.5574 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.4184, allocations: 5.031 kB / 0.5575 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.4199, allocations: 408.2 kB / 0.5578 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.4219, allocations: 399.9 kB / 0.5582 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.4353, allocations: 14.69 MB / 0.5726 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.4369, allocations: 71.84 kB / 0.5726 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.4372, allocations: 47.98 kB / 0.5727 GB, free: 4.406 MB / 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.0009845/0.4382, allocations: 393.5 kB / 0.5731 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.4385, allocations: 83.48 kB / 0.5731 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.4424, allocations: 1.814 MB / 0.5749 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4424, allocations: 8 kB / 0.5749 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4424, allocations: 4 kB / 0.5749 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4424, allocations: 3.984 kB / 0.5749 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007441/0.4499, allocations: 3.338 MB / 0.5782 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.4499, allocations: 4 kB / 0.5782 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.4521, allocations: 355.6 kB / 0.5785 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.4532, allocations: 348.3 kB / 0.5789 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.4534, allocations: 63.97 kB / 0.5789 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/0.4657, allocations: 13.83 MB / 0.5924 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4657, allocations: 3.938 kB / 0.5924 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.4708, allocations: 2.498 MB / 0.5949 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.4712, allocations: 87.47 kB / 0.595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.4714, allocations: 59.97 kB / 0.595 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/0.4722, allocations: 47.94 kB / 0.5951 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.4725, allocations: 96.7 kB / 0.5951 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/0.4725, allocations: 27.98 kB / 0.5952 GB, free: 12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006636/0.4732, allocations: 426.8 kB / 0.5956 GB, free: 11.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4732, allocations: 0 / 0.5956 GB, free: 11.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001584/0.4748, allocations: 400 kB / 0.596 GB, free: 11.19 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.004929/0.4797, allocations: 3.114 MB / 0.599 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.484, allocations: 2.728 MB / 0.6017 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.484, allocations: 0 / 0.6017 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.4865, allocations: 1.86 MB / 0.6035 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.4878, allocations: 290.8 kB / 0.6038 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/0.5153, allocations: 14.82 MB / 0.6182 GB, free: 3.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.5161, allocations: 0.5949 MB / 0.6188 GB, free: 3.105 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001124/0.5172, allocations: 355 kB / 0.6192 GB, free: 2.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000806/0.518, allocations: 415.3 kB / 0.6196 GB, free: 2.348 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.518, allocations: 4 kB / 0.6196 GB, free: 2.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09948/0.6175, allocations: 34.22 MB / 0.653 GB, free: 0.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.04, allocations: 10.14 kB / 0.653 GB, free: 0.5781 MB / 494.1 MB " [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.561447343905456] Failed to read output from testmodel.py, exit status != 0: 16.226211140980013 16.24231215 15.871006278 Calling exit ...