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.001824/0.001824, allocations: 103 kB / 16.45 MB, free: 6.5 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.002341/0.002341, allocations: 212.9 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.1109/0.1109, allocations: 24.11 MB / 333 MB, free: 12.64 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.002263/0.002263, allocations: 63.89 kB / 467.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3937, allocations: 59.57 MB / 0.5151 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004708/0.3984, allocations: 4.288 MB / 0.5193 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.4012, allocations: 1.367 MB / 0.5206 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.4015, allocations: 8.156 kB / 0.5206 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.4017, allocations: 89.92 kB / 0.5207 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000556/0.4023, allocations: 238.8 kB / 0.5209 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.403, allocations: 303.3 kB / 0.5212 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.4042, allocations: 1.163 MB / 0.5223 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006002/0.4048, allocations: 412.5 kB / 0.5227 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.4053, allocations: 426.3 kB / 0.5231 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.4057, allocations: 457.4 kB / 0.5236 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.4059, allocations: 99.03 kB / 0.5237 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.406, allocations: 100.7 kB / 0.5238 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4061, allocations: 202.1 kB / 0.524 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.4065, allocations: 458.1 kB / 0.5244 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.4076, allocations: 1.027 MB / 0.5254 GB, free: 3.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4076, allocations: 0 / 0.5254 GB, free: 3.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4076, allocations: 0 / 0.5254 GB, free: 3.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.4076, allocations: 0 / 0.5254 GB, free: 3.254 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.002195/0.4098, allocations: 1.059 MB / 0.5264 GB, free: 2.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4099, allocations: 11.08 kB / 0.5264 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.41, allocations: 138.1 kB / 0.5266 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.4102, allocations: 79.78 kB / 0.5267 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.4104, allocations: 256.7 kB / 0.5269 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.4104, allocations: 70.86 kB / 0.527 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.4106, allocations: 84.38 kB / 0.527 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.4119, allocations: 0.7314 MB / 0.5278 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4119, allocations: 0 / 0.5278 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/0.412, allocations: 36 kB / 0.5278 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.412, allocations: 24.91 kB / 0.5278 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.4133, allocations: 0.7239 MB / 0.5285 GB, free: 1.512 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.003988/0.4173, allocations: 2.403 MB / 0.5309 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.4192, allocations: 0.8331 MB / 0.5317 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.4198, allocations: 303.5 kB / 0.532 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.4198, allocations: 16.47 kB / 0.532 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.4199, allocations: 47.08 kB / 0.532 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 2.575e-06/0.4199, allocations: 1.406 kB / 0.532 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=114): time 0.01003/0.4299, allocations: 3.414 MB / 0.5354 GB, free: 13.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.43, allocations: 62.81 kB / 0.5354 GB, free: 13.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.4303, allocations: 212.3 kB / 0.5356 GB, free: 13.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/0.4304, allocations: 49.77 kB / 0.5357 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.4306, allocations: 259.2 kB / 0.5359 GB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.431, allocations: 411.2 kB / 0.5363 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.4313, allocations: 150.4 kB / 0.5365 GB, free: 12.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4315, allocations: 358.2 kB / 0.5368 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.4321, allocations: 306.2 kB / 0.5371 GB, free: 12.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.4328, allocations: 395 kB / 0.5375 GB, free: 12.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.4448, allocations: 2.317 MB / 0.5397 GB, free: 11.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4448, allocations: 1.375 kB / 0.5397 GB, free: 11.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002957/0.4477, allocations: 1.163 MB / 0.5409 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4478, allocations: 5.438 kB / 0.5409 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4478, allocations: 1.469 kB / 0.5409 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.4493, allocations: 340.2 kB / 0.5412 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/0.455, allocations: 0.7413 MB / 0.5419 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.472, allocations: 15.87 MB / 0.5574 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000776/0.4728, allocations: 38.27 kB / 0.5575 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.4729, allocations: 29.53 kB / 0.5575 GB, free: 10.55 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.0005175/0.4734, allocations: 232.1 kB / 0.5577 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.4735, allocations: 52.55 kB / 0.5578 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.4771, allocations: 1.383 MB / 0.5591 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.4771, allocations: 18.91 kB / 0.5591 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.4772, allocations: 2.188 kB / 0.5591 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4772, allocations: 3.984 kB / 0.5591 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/0.4826, allocations: 2.536 MB / 0.5616 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.4827, allocations: 6.875 kB / 0.5616 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005285/0.4879, allocations: 0.6919 MB / 0.5623 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.4905, allocations: 495.8 kB / 0.5628 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.4906, allocations: 34.77 kB / 0.5628 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.508, allocations: 16.14 MB / 0.5786 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.508, allocations: 10.91 kB / 0.5786 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.5127, allocations: 1.954 MB / 0.5805 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.513, allocations: 134.7 kB / 0.5806 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.5132, allocations: 25.34 kB / 0.5806 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.5139, allocations: 34.61 kB / 0.5807 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.5142, allocations: 125.3 kB / 0.5808 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.5143, allocations: 32.75 kB / 0.5808 GB, free: 5.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.5146, allocations: 168.5 kB / 0.581 GB, free: 5.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5146, allocations: 4 kB / 0.581 GB, free: 5.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001462/0.516, allocations: 260 kB / 0.5812 GB, free: 5.109 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.004754/0.5208, allocations: 2.527 MB / 0.5837 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007979/0.5288, allocations: 1.944 MB / 0.5856 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/0.5288, allocations: 3.938 kB / 0.5856 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006811/0.5356, allocations: 1.599 MB / 0.5872 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5369, allocations: 177.9 kB / 0.5873 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.5505, allocations: 6.387 MB / 0.5936 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/0.5513, allocations: 0.9327 MB / 0.5945 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005921/0.5519, allocations: 89.11 kB / 0.5946 GB, free: 6.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.5524, allocations: 239.4 kB / 0.5948 GB, free: 6.648 MB / 446.1 MB Notification: Performance of SimCode: time 1.743e-06/0.5524, allocations: 0 / 0.5948 GB, free: 6.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09516/0.6475, allocations: 19.15 MB / 0.6135 GB, free: 3.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.56, allocations: 16.36 kB / 0.6135 GB, free: 3.652 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.864949760958552] Failed to read output from testmodel.py, exit status != 0: 14.668182110181078 14.695003679000001 14.282325723 Calling exit ...