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.001728/0.001728, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002129/0.002129, allocations: 210.1 kB / 23.01 MB, free: 4.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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1064/0.1064, allocations: 24.04 MB / 337.2 MB, free: 11.34 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_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.002125/0.002125, allocations: 72.17 kB / 473.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3807, allocations: 59.58 MB / 0.5209 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004649/0.3854, allocations: 3.802 MB / 0.5246 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.3879, allocations: 1.307 MB / 0.5259 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.3882, allocations: 4.156 kB / 0.5259 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.3883, allocations: 86.78 kB / 0.526 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.3887, allocations: 232.9 kB / 0.5262 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.3894, allocations: 316.1 kB / 0.5265 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.3905, allocations: 1.162 MB / 0.5277 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006014/0.3911, allocations: 402 kB / 0.528 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.3917, allocations: 435 kB / 0.5285 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.3923, allocations: 399.9 kB / 0.5288 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.3924, allocations: 99.56 kB / 0.5289 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3927, allocations: 100.2 kB / 0.529 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.3928, allocations: 206.7 kB / 0.5292 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.3933, allocations: 389.9 kB / 0.5296 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.3948, allocations: 1.035 MB / 0.5306 GB, free: 4.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3948, allocations: 0 / 0.5306 GB, free: 4.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.768e-06/0.3948, allocations: 4 kB / 0.5306 GB, free: 4.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.3949, allocations: 0 / 0.5306 GB, free: 4.277 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.002823/0.3977, allocations: 0.9758 MB / 0.5316 GB, free: 3.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.61e-05/0.3978, allocations: 11.02 kB / 0.5316 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.398, allocations: 140.3 kB / 0.5317 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.3982, allocations: 79.25 kB / 0.5318 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3985, allocations: 196.2 kB / 0.532 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3986, allocations: 77.59 kB / 0.532 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3988, allocations: 87.84 kB / 0.5321 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.4005, allocations: 0.7499 MB / 0.5329 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.4005, allocations: 4.5 kB / 0.5329 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.4006, allocations: 36.28 kB / 0.5329 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-05/0.4007, allocations: 24.81 kB / 0.5329 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.4023, allocations: 0.7183 MB / 0.5336 GB, free: 2.664 MB / 382.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.00426/0.4066, allocations: 1.785 MB / 0.5354 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.4083, allocations: 0.8254 MB / 0.5362 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.4089, allocations: 303 kB / 0.5365 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.4089, allocations: 13.03 kB / 0.5365 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.409, allocations: 49.83 kB / 0.5365 GB, free: 1.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.316e-06/0.409, allocations: 0 / 0.5365 GB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.008809/0.4178, allocations: 3.108 MB / 0.5396 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4178, allocations: 68.45 kB / 0.5396 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.4181, allocations: 216.5 kB / 0.5398 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/0.4182, allocations: 45.92 kB / 0.5399 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.4184, allocations: 262.7 kB / 0.5401 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.4187, allocations: 408.2 kB / 0.5405 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.419, allocations: 146.9 kB / 0.5407 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4192, allocations: 357.2 kB / 0.541 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.4198, allocations: 302.4 kB / 0.5413 GB, free: 14.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.4205, allocations: 393 kB / 0.5417 GB, free: 14.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/0.4321, allocations: 2.317 MB / 0.5439 GB, free: 13.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4321, allocations: 0 / 0.5439 GB, free: 13.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002995/0.4351, allocations: 1.166 MB / 0.5451 GB, free: 12.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.4351, allocations: 10.16 kB / 0.5451 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4351, allocations: 5.297 kB / 0.5451 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.4367, allocations: 333.6 kB / 0.5454 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00577/0.4425, allocations: 0.7461 MB / 0.5461 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.4592, allocations: 14.8 MB / 0.5606 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/0.4601, allocations: 38.8 kB / 0.5606 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.4602, allocations: 29.69 kB / 0.5606 GB, free: 13.8 MB / 414.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.0006259/0.4608, allocations: 228.6 kB / 0.5609 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.461, allocations: 57.11 kB / 0.5609 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/0.4647, allocations: 1.371 MB / 0.5622 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.4647, allocations: 19.58 kB / 0.5623 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4647, allocations: 2.25 kB / 0.5623 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.4647, allocations: 3.984 kB / 0.5623 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/0.4704, allocations: 2.372 MB / 0.5646 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4704, allocations: 9.859 kB / 0.5646 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004995/0.4754, allocations: 0.6926 MB / 0.5653 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/0.4779, allocations: 481.5 kB / 0.5657 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.4781, allocations: 34.08 kB / 0.5658 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.494, allocations: 15.05 MB / 0.5805 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.494, allocations: 11.94 kB / 0.5805 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.4983, allocations: 1.955 MB / 0.5824 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.4985, allocations: 55.7 kB / 0.5824 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.4987, allocations: 35.98 kB / 0.5825 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.4993, allocations: 28 kB / 0.5825 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.4996, allocations: 128.5 kB / 0.5826 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.4996, allocations: 39.98 kB / 0.5827 GB, free: 9.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4998, allocations: 159.2 kB / 0.5828 GB, free: 9.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4998, allocations: 0 / 0.5828 GB, free: 9.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001199/0.501, allocations: 264 kB / 0.5831 GB, free: 8.84 MB / 430.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.00443/0.5055, allocations: 2.531 MB / 0.5855 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007464/0.5129, allocations: 1.947 MB / 0.5874 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.5129, allocations: 0 / 0.5874 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006394/0.5193, allocations: 1.599 MB / 0.589 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5207, allocations: 185.9 kB / 0.5892 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.5328, allocations: 6.384 MB / 0.5954 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.5333, allocations: 340.2 kB / 0.5957 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005119/0.5338, allocations: 85.12 kB / 0.5958 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.5341, allocations: 247.4 kB / 0.596 GB, free: 10.97 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5342, allocations: 0 / 0.596 GB, free: 10.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/0.6013, allocations: 20.28 MB / 0.6158 GB, free: 6.992 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.55, allocations: 4 kB / 0.6159 GB, free: 6.988 MB / 462.1 MB " [Timeout remaining time 645] (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.80236978782341] Failed to read output from testmodel.py, exit status != 0: 14.68055679788813 14.707053722 14.307341246 Calling exit ...