Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Air.MAvolume.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.001283/0.001283, allocations: 111 kB / 16.46 MB, free: 6.453 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.001321/0.001321, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1073/0.1073, allocations: 24.11 MB / 333 MB, free: 12.61 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.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",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.002012/0.002012, allocations: 71.83 kB / 465.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3452, allocations: 59.57 MB / 0.513 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.003201/0.3484, allocations: 1.83 MB / 0.5148 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3495, allocations: 0.6771 MB / 0.5155 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.3496, allocations: 8.75 kB / 0.5155 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.058e-05/0.3497, allocations: 15.05 kB / 0.5155 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.3498, allocations: 43.61 kB / 0.5155 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.35, allocations: 48.38 kB / 0.5156 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.3503, allocations: 194.5 kB / 0.5158 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3505, allocations: 69.05 kB / 0.5158 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3507, allocations: 89.23 kB / 0.5159 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3508, allocations: 84.08 kB / 0.516 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.3509, allocations: 13.19 kB / 0.516 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.3509, allocations: 16.31 kB / 0.516 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.351, allocations: 31.62 kB / 0.516 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3511, allocations: 81.36 kB / 0.5161 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3514, allocations: 139.1 kB / 0.5163 GB, free: 6.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3514, allocations: 0 / 0.5163 GB, free: 6.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3514, allocations: 0 / 0.5163 GB, free: 6.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3514, allocations: 1.344 kB / 0.5163 GB, free: 6.656 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008053/0.3522, allocations: 452.3 kB / 0.5167 GB, free: 6.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3522, allocations: 14.47 kB / 0.5167 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.3523, allocations: 48.2 kB / 0.5167 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.3523, allocations: 12.2 kB / 0.5168 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3525, allocations: 182.3 kB / 0.5169 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3525, allocations: 19.25 kB / 0.5169 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3525, allocations: 18.62 kB / 0.517 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.3529, allocations: 156.5 kB / 0.5171 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3529, allocations: 0 / 0.5171 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.3529, allocations: 10.55 kB / 0.5171 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.353, allocations: 4.031 kB / 0.5171 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.3532, allocations: 132.6 kB / 0.5173 GB, free: 5.832 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3543, allocations: 0.5655 MB / 0.5178 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.3548, allocations: 179.3 kB / 0.518 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.3549, allocations: 61.47 kB / 0.518 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.3549, allocations: 4 kB / 0.518 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3549, allocations: 36 kB / 0.5181 GB, free: 5.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.3549, allocations: 0 / 0.5181 GB, free: 5.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.004637/0.3596, allocations: 1.427 MB / 0.5195 GB, free: 4.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.3596, allocations: 55.03 kB / 0.5195 GB, free: 4.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.3597, allocations: 112.9 kB / 0.5196 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3597, allocations: 30.92 kB / 0.5197 GB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.3597, allocations: 118.8 kB / 0.5198 GB, free: 4.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.3598, allocations: 118.7 kB / 0.5199 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.3599, allocations: 54.47 kB / 0.5199 GB, free: 4.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.3599, allocations: 322.8 kB / 0.5202 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3601, allocations: 84.14 kB / 0.5203 GB, free: 3.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3602, allocations: 133 kB / 0.5205 GB, free: 3.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004345/0.3646, allocations: 0.8395 MB / 0.5213 GB, free: 3.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3646, allocations: 0 / 0.5213 GB, free: 3.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001124/0.3657, allocations: 412.1 kB / 0.5217 GB, free: 3.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3657, allocations: 14.06 kB / 0.5217 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3657, allocations: 1.406 kB / 0.5217 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009053/0.3666, allocations: 147.6 kB / 0.5218 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.3678, allocations: 161.6 kB / 0.522 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.3717, allocations: 4.698 MB / 0.5266 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.3719, allocations: 11.25 kB / 0.5266 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.372, allocations: 11.56 kB / 0.5266 GB, free: 14.56 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: p:VARIABLE(min = 0.0 start = pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real T:VARIABLE(min = 0.0 start = 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: 4 * 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 (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002807/0.3722, allocations: 141.8 kB / 0.5267 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.3723, allocations: 14.47 kB / 0.5267 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.3737, allocations: 466.9 kB / 0.5272 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3737, allocations: 11.84 kB / 0.5272 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3737, allocations: 4.594 kB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3737, allocations: 0.8125 kB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.3758, allocations: 0.8413 MB / 0.528 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3759, allocations: 1.906 kB / 0.528 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.3769, allocations: 131.5 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.3788, allocations: 299.5 kB / 0.5284 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3788, allocations: 8 kB / 0.5284 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005704/0.3845, allocations: 4.924 MB / 0.5332 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3845, allocations: 1.875 kB / 0.5332 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.3862, allocations: 0.6434 MB / 0.5339 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.3863, allocations: 90.52 kB / 0.534 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.3863, allocations: 7.656 kB / 0.534 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3865, allocations: 7.703 kB / 0.534 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3867, allocations: 38.95 kB / 0.534 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3867, allocations: 12.77 kB / 0.534 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.3868, allocations: 82.64 kB / 0.5341 GB, free: 8.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 0.5341 GB, free: 8.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005339/0.3873, allocations: 73.91 kB / 0.5342 GB, free: 8.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (Ma,p,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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001981/0.3893, allocations: 1.195 MB / 0.5353 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.3914, allocations: 0.5814 MB / 0.5359 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3914, allocations: 4 kB / 0.5359 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.393, allocations: 0.5063 MB / 0.5364 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3934, allocations: 43.64 kB / 0.5365 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.3981, allocations: 2.586 MB / 0.539 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.3985, allocations: 0.7391 MB / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.3986, allocations: 19.3 kB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.3988, allocations: 49.88 kB / 0.5398 GB, free: 4.188 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3988, allocations: 0 / 0.5398 GB, free: 4.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.4377, allocations: 5.631 MB / 0.5453 GB, free: 2.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.3, allocations: 10.23 kB / 0.5453 GB, free: 2.73 MB / 398.1 MB " [Timeout remaining time 647] (rm -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Air.MAvolume.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Thermal.Air.MAvolume_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessComponents_Thermal_Air_MAvolume.fmu > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.01044471282512] Failed to read output from testmodel.py, exit status != 0: 13.412672556005418 13.434245777 13.078744794 Calling exit ...