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.001552/0.001552, allocations: 109.7 kB / 16.45 MB, free: 6.488 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.002128/0.002128, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1645/0.1645, allocations: 24.12 MB / 333 MB, free: 12.6 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.002083/0.002083, allocations: 79.89 kB / 467.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 59.56 MB / 0.5151 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004091/0.3647, allocations: 3.604 MB / 0.5186 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.3667, allocations: 1.115 MB / 0.5197 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.367, allocations: 3.375 kB / 0.5197 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3672, allocations: 70.2 kB / 0.5198 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.3677, allocations: 185.7 kB / 0.5199 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.3681, allocations: 214.5 kB / 0.5201 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008145/0.3689, allocations: 0.8219 MB / 0.5209 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.3694, allocations: 303.9 kB / 0.5212 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.3699, allocations: 316.4 kB / 0.5215 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.3703, allocations: 326.2 kB / 0.5218 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.3704, allocations: 72.12 kB / 0.5219 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3705, allocations: 73.16 kB / 0.522 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.3706, allocations: 157 kB / 0.5221 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.3709, allocations: 332.4 kB / 0.5224 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006734/0.3716, allocations: 0.7484 MB / 0.5232 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3716, allocations: 7.938 kB / 0.5232 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3716, allocations: 0 / 0.5232 GB, free: 4.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3716, allocations: 1.031 kB / 0.5232 GB, free: 4.578 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.001448/0.3731, allocations: 0.8402 MB / 0.524 GB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3731, allocations: 9.406 kB / 0.524 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.3732, allocations: 107.6 kB / 0.5241 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.3733, allocations: 65.69 kB / 0.5242 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3735, allocations: 226.9 kB / 0.5244 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.3735, allocations: 51.66 kB / 0.5244 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.3736, allocations: 65.55 kB / 0.5245 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.3745, allocations: 0.549 MB / 0.525 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3745, allocations: 0 / 0.525 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.3746, allocations: 25.69 kB / 0.5251 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3746, allocations: 15.91 kB / 0.5251 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008877/0.3755, allocations: 0.4884 MB / 0.5256 GB, free: 3.145 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.002741/0.3782, allocations: 2.355 MB / 0.5279 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.3794, allocations: 0.5479 MB / 0.5284 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.3798, allocations: 218.7 kB / 0.5286 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.3798, allocations: 15.45 kB / 0.5286 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3798, allocations: 42.3 kB / 0.5287 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.034e-06/0.3798, allocations: 1.281 kB / 0.5287 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.0129/0.3927, allocations: 3.941 MB / 0.5325 GB, free: 15.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.3928, allocations: 61.25 kB / 0.5326 GB, free: 15.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.393, allocations: 141.9 kB / 0.5327 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.3931, allocations: 44.36 kB / 0.5327 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3933, allocations: 226.8 kB / 0.533 GB, free: 14.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.3936, allocations: 319.2 kB / 0.5333 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.3938, allocations: 112.4 kB / 0.5334 GB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.394, allocations: 349.5 kB / 0.5337 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.3946, allocations: 268.9 kB / 0.534 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/0.3952, allocations: 331.2 kB / 0.5343 GB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.4065, allocations: 2.171 MB / 0.5364 GB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4065, allocations: 0 / 0.5364 GB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003079/0.4096, allocations: 1.086 MB / 0.5375 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4096, allocations: 4.875 kB / 0.5375 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4096, allocations: 5.344 kB / 0.5375 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.4117, allocations: 407.5 kB / 0.5379 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.4149, allocations: 435 kB / 0.5383 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/0.4291, allocations: 14.15 MB / 0.5521 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.4297, allocations: 18.19 kB / 0.5521 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.4297, allocations: 23.03 kB / 0.5521 GB, free: 14.42 MB / 414.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.0004336/0.4302, allocations: 210.5 kB / 0.5523 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4303, allocations: 37.33 kB / 0.5524 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.434, allocations: 1.266 MB / 0.5536 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.434, allocations: 12.44 kB / 0.5536 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.434, allocations: 2.688 kB / 0.5536 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.434, allocations: 5.266 kB / 0.5536 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.4386, allocations: 1.997 MB / 0.5556 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4386, allocations: 0 / 0.5556 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/0.4413, allocations: 378.3 kB / 0.5559 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004115/0.4455, allocations: 0.7001 MB / 0.5566 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.4456, allocations: 21.55 kB / 0.5566 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.4609, allocations: 14.67 MB / 0.571 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4609, allocations: 1.438 kB / 0.571 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.4653, allocations: 1.7 MB / 0.5726 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.4655, allocations: 112.8 kB / 0.5727 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.03e-05/0.4655, allocations: 18.09 kB / 0.5728 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.466, allocations: 21.59 kB / 0.5728 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.4663, allocations: 84.69 kB / 0.5729 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.4664, allocations: 27.89 kB / 0.5729 GB, free: 11.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4665, allocations: 117.3 kB / 0.573 GB, free: 11.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4665, allocations: 0 / 0.573 GB, free: 11.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001077/0.4676, allocations: 216.6 kB / 0.5732 GB, free: 11.63 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.004799/0.4723, allocations: 2.251 MB / 0.5754 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005468/0.4778, allocations: 1.762 MB / 0.5771 GB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4778, allocations: 5.281 kB / 0.5771 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004788/0.4826, allocations: 1.531 MB / 0.5786 GB, free: 7.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.4833, allocations: 92.44 kB / 0.5787 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.4944, allocations: 5.395 MB / 0.584 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.495, allocations: 0.8837 MB / 0.5848 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.4953, allocations: 56.16 kB / 0.5849 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.4956, allocations: 183.4 kB / 0.5851 GB, free: 1.113 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4956, allocations: 0 / 0.5851 GB, free: 1.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/0.5574, allocations: 15.68 MB / 0.6004 GB, free: 1.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.63, allocations: 7.875 kB / 0.6004 GB, free: 1.551 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_004_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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: 16.54849729104899] Failed to read output from testmodel.py, exit status != 0: 13.729900417849422 13.750477315 13.374416189 Calling exit ...