Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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.00163/0.00163, 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.001891/0.001891, allocations: 211.3 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.016 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.1103/0.1103, allocations: 24.12 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_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_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.002097/0.002097, allocations: 65.94 kB / 473.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 59.59 MB / 0.5204 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003836/0.3247, allocations: 3.613 MB / 0.5239 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3265, allocations: 1.13 MB / 0.525 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.3268, allocations: 4.438 kB / 0.5251 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.3269, allocations: 66.88 kB / 0.5251 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.3274, allocations: 183.6 kB / 0.5253 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.3278, allocations: 207.6 kB / 0.5255 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000678/0.3285, allocations: 0.8263 MB / 0.5263 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/0.3289, allocations: 310.7 kB / 0.5266 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.3294, allocations: 313.3 kB / 0.5269 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/0.3298, allocations: 332.5 kB / 0.5272 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3299, allocations: 72.47 kB / 0.5273 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.33, allocations: 73.28 kB / 0.5273 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3301, allocations: 150 kB / 0.5275 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.3304, allocations: 339.6 kB / 0.5278 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.3311, allocations: 0.7487 MB / 0.5285 GB, free: 4.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3311, allocations: 0 / 0.5285 GB, free: 4.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3311, allocations: 0 / 0.5285 GB, free: 4.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3311, allocations: 1.938 kB / 0.5285 GB, free: 4.93 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001501/0.3326, allocations: 0.7703 MB / 0.5293 GB, free: 4.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3326, allocations: 10.64 kB / 0.5293 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.3327, allocations: 106.5 kB / 0.5294 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.81e-05/0.3328, allocations: 66.61 kB / 0.5295 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.333, allocations: 168.4 kB / 0.5296 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.333, allocations: 51.66 kB / 0.5297 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/0.3331, allocations: 67.08 kB / 0.5298 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008979/0.334, allocations: 0.5479 MB / 0.5303 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.334, allocations: 3.938 kB / 0.5303 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.3341, allocations: 25 kB / 0.5303 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3341, allocations: 21.56 kB / 0.5303 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.3349, allocations: 0.4888 MB / 0.5308 GB, free: 3.648 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.3377, allocations: 2.299 MB / 0.5331 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.3388, allocations: 0.5543 MB / 0.5336 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.3392, allocations: 217.9 kB / 0.5338 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.3392, allocations: 10.62 kB / 0.5338 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3393, allocations: 42.62 kB / 0.5339 GB, free: 1.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.164e-06/0.3393, allocations: 0 / 0.5339 GB, free: 1.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01234/0.3516, allocations: 3.569 MB / 0.5373 GB, free: 156 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3516, allocations: 62.52 kB / 0.5374 GB, free: 92 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3518, allocations: 144.5 kB / 0.5375 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/0.3519, allocations: 36.11 kB / 0.5376 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3521, allocations: 227.1 kB / 0.5378 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.3524, allocations: 319.4 kB / 0.5381 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.3526, allocations: 116.7 kB / 0.5382 GB, free: 15.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3528, allocations: 349.3 kB / 0.5385 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.3533, allocations: 273 kB / 0.5388 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.3538, allocations: 331.3 kB / 0.5391 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.365, allocations: 2.163 MB / 0.5412 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.365, allocations: 4.703 kB / 0.5412 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00315/0.3682, allocations: 1.085 MB / 0.5423 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.3682, allocations: 6.203 kB / 0.5423 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3682, allocations: 3.938 kB / 0.5423 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.3703, allocations: 405.6 kB / 0.5427 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/0.3736, allocations: 430.9 kB / 0.5431 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.3874, allocations: 13.22 MB / 0.556 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.388, allocations: 22.34 kB / 0.556 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.3881, allocations: 34.73 kB / 0.5561 GB, free: 280 kB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.3885, allocations: 209.6 kB / 0.5563 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.3886, allocations: 35.34 kB / 0.5563 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.3923, allocations: 1.258 MB / 0.5575 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.3923, allocations: 8.844 kB / 0.5575 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3923, allocations: 7.156 kB / 0.5575 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.3924, allocations: 3.984 kB / 0.5575 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.3969, allocations: 1.967 MB / 0.5595 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3969, allocations: 1 kB / 0.5595 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/0.3998, allocations: 385.5 kB / 0.5598 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004139/0.4039, allocations: 0.6908 MB / 0.5605 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.404, allocations: 22.52 kB / 0.5605 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/0.4195, allocations: 13.75 MB / 0.574 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4195, allocations: 2.25 kB / 0.574 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/0.4241, allocations: 1.693 MB / 0.5756 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4242, allocations: 30.8 kB / 0.5757 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.4243, allocations: 17.56 kB / 0.5757 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.4248, allocations: 18.88 kB / 0.5757 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.4251, allocations: 96.2 kB / 0.5758 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.4252, allocations: 28.48 kB / 0.5758 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4253, allocations: 113.9 kB / 0.5759 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4253, allocations: 0 / 0.5759 GB, free: 14.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001201/0.4265, allocations: 216.2 kB / 0.5761 GB, free: 14.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004723/0.4312, allocations: 2.259 MB / 0.5783 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005592/0.4368, allocations: 1.771 MB / 0.5801 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4368, allocations: 0 / 0.5801 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00488/0.4417, allocations: 1.525 MB / 0.5815 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007785/0.4425, allocations: 96.42 kB / 0.5816 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.454, allocations: 5.378 MB / 0.5869 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.4546, allocations: 0.8798 MB / 0.5877 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003571/0.455, allocations: 64.08 kB / 0.5878 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.4553, allocations: 179.4 kB / 0.588 GB, free: 3.148 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4553, allocations: 0 / 0.588 GB, free: 3.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06551/0.5208, allocations: 16.43 MB / 0.604 GB, free: 2.887 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.49, allocations: 14.73 kB / 0.604 GB, free: 2.875 MB / 446.1 MB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_004_fmu --startTime=0 --stopTime=200 --stepSize=0.02 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.199677490862086] Failed to read output from testmodel.py, exit status != 0: 14.618279282003641 14.633994568 14.29942759 Calling exit ...