Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_AHU_001.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.001858/0.001858, allocations: 112 kB / 17.14 MB, free: 5.949 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.002321/0.002321, allocations: 213.1 kB / 20.11 MB, free: 2.992 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1046/0.1046, allocations: 24.04 MB / 333.6 MB, free: 1.562 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_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",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.002043/0.002043, allocations: 69.55 kB / 468.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1175, allocations: 59.54 MB / 0.5156 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005804/0.1233, allocations: 4.277 MB / 0.5198 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.126, allocations: 1.36 MB / 0.5211 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.1265, allocations: 4 kB / 0.5211 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1268, allocations: 87.06 kB / 0.5212 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.1276, allocations: 233.9 kB / 0.5214 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.1284, allocations: 315.5 kB / 0.5217 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.1297, allocations: 1.161 MB / 0.5228 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.1302, allocations: 409 kB / 0.5232 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.1307, allocations: 430.8 kB / 0.5236 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.1313, allocations: 446.3 kB / 0.5241 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1314, allocations: 100 kB / 0.5242 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1316, allocations: 100 kB / 0.5243 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.1318, allocations: 215.3 kB / 0.5245 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.1322, allocations: 450.2 kB / 0.5249 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.1333, allocations: 1.027 MB / 0.5259 GB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1333, allocations: 0 / 0.5259 GB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1333, allocations: 0 / 0.5259 GB, free: 1.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1333, allocations: 0 / 0.5259 GB, free: 1.664 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002154/0.1354, allocations: 1.064 MB / 0.5269 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1355, allocations: 12.56 kB / 0.527 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.1356, allocations: 135.7 kB / 0.5271 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.1358, allocations: 80.47 kB / 0.5272 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.136, allocations: 248 kB / 0.5274 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.1361, allocations: 69.98 kB / 0.5275 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.1362, allocations: 91.94 kB / 0.5275 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.1375, allocations: 0.7257 MB / 0.5283 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1375, allocations: 4 kB / 0.5283 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.1376, allocations: 36 kB / 0.5283 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.1376, allocations: 24 kB / 0.5283 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1389, allocations: 0.7261 MB / 0.529 GB, free: 14.36 MB / 398.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.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 = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.1429, allocations: 2.411 MB / 0.5314 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.1448, allocations: 0.8277 MB / 0.5322 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.1453, allocations: 299.8 kB / 0.5325 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.1454, allocations: 20.98 kB / 0.5325 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.1454, allocations: 47.5 kB / 0.5325 GB, free: 10.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 2.816e-06/0.1454, allocations: 0 / 0.5325 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=114): time 0.009657/0.1551, allocations: 3.406 MB / 0.5359 GB, free: 7.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.1552, allocations: 68.41 kB / 0.5359 GB, free: 7.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1554, allocations: 214.9 kB / 0.5361 GB, free: 6.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.1555, allocations: 49.7 kB / 0.5362 GB, free: 6.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1557, allocations: 253.5 kB / 0.5364 GB, free: 6.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.1561, allocations: 412.4 kB / 0.5368 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.1563, allocations: 150.7 kB / 0.537 GB, free: 5.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1565, allocations: 362.8 kB / 0.5373 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.1571, allocations: 301.9 kB / 0.5376 GB, free: 5.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.1578, allocations: 387.1 kB / 0.538 GB, free: 4.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/0.1692, allocations: 2.325 MB / 0.5402 GB, free: 2.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1692, allocations: 0 / 0.5402 GB, free: 2.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003052/0.1723, allocations: 1.16 MB / 0.5414 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1723, allocations: 8 kB / 0.5414 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1723, allocations: 0 / 0.5414 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.1739, allocations: 335 kB / 0.5417 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005461/0.1794, allocations: 0.7452 MB / 0.5424 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.1957, allocations: 15.89 MB / 0.5579 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.1964, allocations: 35.95 kB / 0.558 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.1965, allocations: 28 kB / 0.558 GB, free: 14.89 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 0.0 start = AHU.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real 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: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 6 systems {1, 1, 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,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000551/0.1971, allocations: 226.8 kB / 0.5582 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.1972, allocations: 55.67 kB / 0.5583 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.2008, allocations: 1.375 MB / 0.5596 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.2008, allocations: 15.92 kB / 0.5596 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.2009, allocations: 4 kB / 0.5596 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.2009, allocations: 3.984 kB / 0.5596 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.2062, allocations: 2.541 MB / 0.5621 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.2063, allocations: 4.906 kB / 0.5621 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005122/0.2114, allocations: 0.6906 MB / 0.5628 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/0.214, allocations: 486.8 kB / 0.5633 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.2142, allocations: 39.92 kB / 0.5633 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.2309, allocations: 16.13 MB / 0.5791 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.2309, allocations: 11.94 kB / 0.5791 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.2353, allocations: 1.959 MB / 0.581 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.2355, allocations: 128.8 kB / 0.5811 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2356, allocations: 32.05 kB / 0.5811 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.2362, allocations: 32.25 kB / 0.5812 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.2365, allocations: 128.6 kB / 0.5813 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/0.2366, allocations: 40 kB / 0.5813 GB, free: 5.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.2368, allocations: 171.1 kB / 0.5815 GB, free: 5.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2368, allocations: 0 / 0.5815 GB, free: 5.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001213/0.238, allocations: 263.9 kB / 0.5817 GB, free: 4.824 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Ma,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 (92): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 6 systems {1, 1, 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): 2 systems {(1,5), (3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004648/0.2427, allocations: 2.53 MB / 0.5842 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00755/0.2502, allocations: 1.94 MB / 0.5861 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/0.2502, allocations: 4 kB / 0.5861 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2166/0.4668, allocations: 1.598 MB / 0.5877 GB, free: 66.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.468, allocations: 173.3 kB / 0.5878 GB, free: 66.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.478, allocations: 6.398 MB / 0.5941 GB, free: 64.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.4784, allocations: 0.9277 MB / 0.595 GB, free: 63.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004959/0.4789, allocations: 89.33 kB / 0.5951 GB, free: 63.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.4792, allocations: 241 kB / 0.5953 GB, free: 63.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4792, allocations: 0 / 0.5953 GB, free: 63.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06445/0.5437, allocations: 19.16 MB / 0.614 GB, free: 56.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.93, allocations: 2.844 kB / 0.614 GB, free: 56.75 MB / 446.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_AHU_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_AHU_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_AHU_001.pipe >> ../files/AES_AES.Devel_test_models.Test_AHU_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_AHU_001_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 AES_AES_Devel_test_models_Test_AHU_001.fmu > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.228441970888525] Failed to read output from testmodel.py, exit status != 0: 14.035464015090838 14.050994765 13.914750545 Calling exit ...