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.001584/0.001584, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.001801/0.001801, allocations: 207.2 kB / 20.11 MB, free: 3.062 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1047/0.1047, allocations: 24.03 MB / 333.6 MB, free: 1.547 MB / 254.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.002062/0.002062, allocations: 69.98 kB / 468.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1075, allocations: 59.55 MB / 0.5156 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.005153/0.1126, allocations: 3.586 MB / 0.5191 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1146, allocations: 1.13 MB / 0.5202 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1148, allocations: 8 kB / 0.5202 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.1149, allocations: 67.28 kB / 0.5203 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.1154, allocations: 182.4 kB / 0.5204 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1158, allocations: 207.7 kB / 0.5206 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.1166, allocations: 0.8263 MB / 0.5214 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.1171, allocations: 305 kB / 0.5217 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.1175, allocations: 315.1 kB / 0.522 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.118, allocations: 330.8 kB / 0.5224 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.1181, allocations: 72 kB / 0.5224 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1182, allocations: 72 kB / 0.5225 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1184, allocations: 143.6 kB / 0.5226 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.1187, allocations: 338.6 kB / 0.5229 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.1196, allocations: 0.7588 MB / 0.5237 GB, free: 3.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1196, allocations: 0 / 0.5237 GB, free: 3.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1196, allocations: 0 / 0.5237 GB, free: 3.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.1196, allocations: 0 / 0.5237 GB, free: 3.938 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.001673/0.1213, allocations: 0.8341 MB / 0.5245 GB, free: 3.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1213, allocations: 12.62 kB / 0.5245 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.1215, allocations: 110.7 kB / 0.5246 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1216, allocations: 60.56 kB / 0.5247 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1218, allocations: 231.7 kB / 0.5249 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.1219, allocations: 53.44 kB / 0.525 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.122, allocations: 63.95 kB / 0.525 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.123, allocations: 0.5414 MB / 0.5255 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.123, allocations: 0 / 0.5255 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.123, allocations: 28 kB / 0.5256 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.1231, allocations: 16 kB / 0.5256 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000961/0.124, allocations: 0.4931 MB / 0.5261 GB, free: 1.398 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.003323/0.1273, allocations: 2.363 MB / 0.5284 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.1286, allocations: 0.5486 MB / 0.5289 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.129, allocations: 218.4 kB / 0.5291 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.129, allocations: 12.55 kB / 0.5291 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1291, allocations: 39.12 kB / 0.5292 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.735e-06/0.1291, allocations: 0 / 0.5292 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=87): time 0.01297/0.142, allocations: 3.943 MB / 0.533 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1421, allocations: 60.41 kB / 0.5331 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1423, allocations: 148.8 kB / 0.5332 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.1423, allocations: 41.7 kB / 0.5333 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1425, allocations: 221.2 kB / 0.5335 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.1428, allocations: 313.2 kB / 0.5338 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.143, allocations: 118.7 kB / 0.5339 GB, free: 8.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1432, allocations: 350.7 kB / 0.5342 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.1437, allocations: 269.9 kB / 0.5345 GB, free: 8.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.1443, allocations: 328.6 kB / 0.5348 GB, free: 8.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.1551, allocations: 2.174 MB / 0.5369 GB, free: 5.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1551, allocations: 0 / 0.5369 GB, free: 5.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003036/0.1581, allocations: 1.084 MB / 0.538 GB, free: 4.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1581, allocations: 14.03 kB / 0.538 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1581, allocations: 0 / 0.538 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.1602, allocations: 404.7 kB / 0.5384 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/0.1633, allocations: 431.5 kB / 0.5388 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/0.1786, allocations: 14.15 MB / 0.5526 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.1793, allocations: 16 kB / 0.5526 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.1794, allocations: 23.98 kB / 0.5526 GB, free: 4.434 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.0006795/0.1801, allocations: 209 kB / 0.5528 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.1803, allocations: 39.77 kB / 0.5529 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.1843, allocations: 1.26 MB / 0.5541 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1843, allocations: 8 kB / 0.5541 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.1843, allocations: 4 kB / 0.5541 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.1843, allocations: 3.984 kB / 0.5541 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/0.189, allocations: 1.99 MB / 0.5561 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.189, allocations: 0 / 0.5561 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/0.1918, allocations: 399.6 kB / 0.5564 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00405/0.1959, allocations: 0.6841 MB / 0.5571 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.196, allocations: 27.98 kB / 0.5571 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01734/0.2133, allocations: 14.67 MB / 0.5715 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2133, allocations: 0 / 0.5715 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004449/0.2178, allocations: 1.691 MB / 0.5731 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.2179, allocations: 116.9 kB / 0.5732 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.218, allocations: 16 kB / 0.5732 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.2184, allocations: 20 kB / 0.5733 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.2187, allocations: 88.75 kB / 0.5734 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.2188, allocations: 23.98 kB / 0.5734 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.993e-05/0.2189, allocations: 115.9 kB / 0.5735 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2189, allocations: 0 / 0.5735 GB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001012/0.2199, allocations: 216 kB / 0.5737 GB, free: 13.4 MB / 446.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.004643/0.2245, allocations: 2.263 MB / 0.5759 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005339/0.2298, allocations: 1.77 MB / 0.5776 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2299, allocations: 0 / 0.5776 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004599/0.2345, allocations: 1.525 MB / 0.5791 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.2351, allocations: 102.5 kB / 0.5792 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.2459, allocations: 5.387 MB / 0.5845 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.2466, allocations: 0.8798 MB / 0.5853 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.2469, allocations: 52.16 kB / 0.5854 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.2472, allocations: 183.4 kB / 0.5856 GB, free: 0.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2472, allocations: 4 kB / 0.5856 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2749/0.5222, allocations: 15.67 MB / 0.6009 GB, free: 65.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.48, allocations: 6.125 kB / 0.6009 GB, free: 65.71 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.314681362127885] Failed to read output from testmodel.py, exit status != 0: 13.586496540112421 13.596728958 13.475023581 Calling exit ...