Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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.001881/0.001881, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002236/0.002236, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1021/0.1021, allocations: 22.95 MB / 336.2 MB, free: 12.39 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_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",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.00278/0.00278, allocations: 67.84 kB / 472.2 MB, free: 7.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3579, allocations: 59.28 MB / 0.519 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.004131/0.3621, allocations: 3.195 MB / 0.5221 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3641, allocations: 1.07 MB / 0.5232 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.3643, allocations: 2.656 kB / 0.5232 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.3644, allocations: 70.81 kB / 0.5233 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.3649, allocations: 179.8 kB / 0.5234 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.3652, allocations: 217 kB / 0.5236 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007224/0.366, allocations: 0.8405 MB / 0.5245 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.3664, allocations: 414.4 kB / 0.5248 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.3668, allocations: 365.4 kB / 0.5252 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.3672, allocations: 405.9 kB / 0.5256 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3674, allocations: 87.03 kB / 0.5257 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3675, allocations: 82.91 kB / 0.5257 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3676, allocations: 176.5 kB / 0.5259 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.3679, allocations: 311 kB / 0.5262 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.3688, allocations: 0.8466 MB / 0.527 GB, free: 5.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3688, allocations: 0 / 0.527 GB, free: 5.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3688, allocations: 0 / 0.527 GB, free: 5.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.3688, allocations: 0.5156 kB / 0.527 GB, free: 5.855 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00182/0.3706, allocations: 0.7865 MB / 0.5278 GB, free: 5.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3706, allocations: 9.656 kB / 0.5278 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.218e-05/0.3707, allocations: 17.53 kB / 0.5278 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.3708, allocations: 106.8 kB / 0.5279 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3709, allocations: 60.69 kB / 0.528 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.3711, allocations: 176.8 kB / 0.5282 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.3711, allocations: 47.47 kB / 0.5282 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3712, allocations: 65.83 kB / 0.5283 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.3724, allocations: 0.6174 MB / 0.5289 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3724, allocations: 4 kB / 0.5289 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.3724, allocations: 26.64 kB / 0.5289 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.3725, allocations: 15.59 kB / 0.5289 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3736, allocations: 0.6277 MB / 0.5295 GB, free: 4.512 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.3767, allocations: 1.506 MB / 0.531 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3782, allocations: 0.6442 MB / 0.5316 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.3787, allocations: 286.6 kB / 0.5319 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.3788, allocations: 9.531 kB / 0.5319 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3788, allocations: 49.17 kB / 0.532 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007666/0.3796, allocations: 151 kB / 0.5321 GB, free: 3.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 3.196e-06/0.3796, allocations: 0.625 kB / 0.5321 GB, free: 3.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.007717/0.3873, allocations: 2.695 MB / 0.5347 GB, free: 2.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.3873, allocations: 61.53 kB / 0.5348 GB, free: 1.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3875, allocations: 194.4 kB / 0.535 GB, free: 1.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.3876, allocations: 44.92 kB / 0.535 GB, free: 1.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3877, allocations: 198.4 kB / 0.5352 GB, free: 1.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.3879, allocations: 320 kB / 0.5355 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.3882, allocations: 138.3 kB / 0.5356 GB, free: 1.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.3882, allocations: 353 kB / 0.536 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.3888, allocations: 281.6 kB / 0.5363 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.3894, allocations: 338.3 kB / 0.5366 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/0.4059, allocations: 2.822 MB / 0.5393 GB, free: 52 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4059, allocations: 0 / 0.5393 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002438/0.4084, allocations: 0.9314 MB / 0.5402 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4084, allocations: 6.234 kB / 0.5402 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4084, allocations: 1.312 kB / 0.5402 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.4094, allocations: 189.5 kB / 0.5404 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/0.4138, allocations: 0.5428 MB / 0.541 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00966/0.4235, allocations: 9.871 MB / 0.5506 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007453/0.4242, allocations: 22.8 kB / 0.5506 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.4243, allocations: 30.64 kB / 0.5506 GB, free: 5.418 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = 0.0 start = V.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004432/0.4247, allocations: 200.5 kB / 0.5508 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.4248, allocations: 39.3 kB / 0.5509 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.4277, allocations: 1.177 MB / 0.552 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4277, allocations: 10.34 kB / 0.552 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4277, allocations: 1.156 kB / 0.552 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4277, allocations: 8.766 kB / 0.552 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.4318, allocations: 1.985 MB / 0.554 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4318, allocations: 6.312 kB / 0.554 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/0.4358, allocations: 0.4944 MB / 0.5545 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.438, allocations: 344.1 kB / 0.5548 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.4381, allocations: 33.05 kB / 0.5548 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.4488, allocations: 10.11 MB / 0.5647 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.4488, allocations: 11.53 kB / 0.5647 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.4524, allocations: 1.663 MB / 0.5663 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.4526, allocations: 55.28 kB / 0.5664 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4527, allocations: 26.89 kB / 0.5664 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.4532, allocations: 28.38 kB / 0.5665 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.4535, allocations: 98.97 kB / 0.5665 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.4536, allocations: 36.48 kB / 0.5666 GB, free: 7.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.4537, allocations: 150.5 kB / 0.5667 GB, free: 7.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4537, allocations: 0 / 0.5667 GB, free: 7.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009534/0.4547, allocations: 197.3 kB / 0.5669 GB, free: 7.305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.T) * 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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,2,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.003641/0.4583, allocations: 2.239 MB / 0.5691 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005724/0.464, allocations: 1.473 MB / 0.5705 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.4641, allocations: 1.375 kB / 0.5705 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004715/0.4688, allocations: 1.177 MB / 0.5717 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4698, allocations: 150.9 kB / 0.5718 GB, free: 4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009609/0.4794, allocations: 5.436 MB / 0.5771 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.4797, allocations: 264.5 kB / 0.5774 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004921/0.4802, allocations: 88.55 kB / 0.5775 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.4806, allocations: 187.4 kB / 0.5777 GB, free: 14.41 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4806, allocations: 3.938 kB / 0.5777 GB, free: 14.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/0.5305, allocations: 16.74 MB / 0.594 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/14.95, allocations: 4.062 kB / 0.594 GB, free: 13.96 MB / 446.1 MB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_003_fmu --startTime=0 --stopTime=200 --stepSize=0.02 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.307696957024746] Failed to read output from testmodel.py, exit status != 0: 15.136882835999131 15.15881376 14.786398628 Calling exit ...