Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.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.001477/0.001477, allocations: 109.5 kB / 16.45 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.001611/0.001611, allocations: 207.3 kB / 19.43 MB, free: 3.516 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.352/1.352, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 282.7 kB / 309.1 MB, free: 3.988 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 180.9 MB / 0.5333 GB, free: 13.86 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002695/0.002695, allocations: 110.8 kB / 0.7342 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1611, allocations: 95.33 MB / 0.8273 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.572/0.7331, allocations: 207.9 MB / 1.03 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008241/0.7414, allocations: 6.397 MB / 1.037 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.743, allocations: 47.03 kB / 1.037 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.7447, allocations: 0.7708 MB / 1.037 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.7504, allocations: 2.766 MB / 1.04 GB, free: 2.605 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.7519, allocations: 0.7159 MB / 1.041 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003308/0.7552, allocations: 3.277 MB / 1.044 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.7564, allocations: 0.9324 MB / 1.045 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.7584, allocations: 1.311 MB / 1.046 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.7604, allocations: 1.177 MB / 1.047 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.7605, allocations: 129.3 kB / 1.047 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.7647, allocations: 2.502 MB / 1.05 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.7652, allocations: 0.5307 MB / 1.05 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.7661, allocations: 0.7398 MB / 1.051 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/0.7708, allocations: 2.804 MB / 1.054 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7708, allocations: 3.375 kB / 1.054 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7708, allocations: 1 kB / 1.054 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.7709, allocations: 0 / 1.054 GB, free: 1.652 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004037/0.7749, allocations: 1.812 MB / 1.056 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7749, allocations: 8.469 kB / 1.056 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.7751, allocations: 166.1 kB / 1.056 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.7772, allocations: 352.2 kB / 1.056 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.7785, allocations: 0.8803 MB / 1.057 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.7786, allocations: 77.08 kB / 1.057 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.7787, allocations: 103.2 kB / 1.057 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.7804, allocations: 1.188 MB / 1.058 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.7804, allocations: 2.469 kB / 1.058 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.7805, allocations: 45.97 kB / 1.058 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/0.7806, allocations: 61.05 kB / 1.058 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.7824, allocations: 1.246 MB / 1.06 GB, free: 14.99 MB / 0.7325 GB 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.006695/0.7891, allocations: 5.122 MB / 1.065 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.7905, allocations: 1.125 MB / 1.066 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.7912, allocations: 497.1 kB / 1.066 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.7912, allocations: 16.61 kB / 1.066 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/0.7919, allocations: 484.9 kB / 1.067 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/0.792, allocations: 0.75 kB / 1.067 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001901/0.7939, allocations: 1.166 MB / 1.068 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.7939, allocations: 65.92 kB / 1.068 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.7946, allocations: 0.576 MB / 1.068 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.7946, allocations: 37.17 kB / 1.068 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.795, allocations: 475.4 kB / 1.069 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.7953, allocations: 275.1 kB / 1.069 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.7955, allocations: 131 kB / 1.069 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.7957, allocations: 386.4 kB / 1.07 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.7961, allocations: 331.9 kB / 1.07 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.7967, allocations: 452 kB / 1.07 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7978, allocations: 0.8245 MB / 1.071 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7978, allocations: 0.9375 kB / 1.071 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001343/0.7991, allocations: 0.9332 MB / 1.072 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.7991, allocations: 10.25 kB / 1.072 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7991, allocations: 3.219 kB / 1.072 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7991, allocations: 4.906 kB / 1.072 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.7998, allocations: 161.8 kB / 1.072 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7998, allocations: 9.406 kB / 1.072 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.8005, allocations: 65.23 kB / 1.072 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.8006, allocations: 23.41 kB / 1.072 GB, free: 6.191 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005111/0.8011, allocations: 333 kB / 1.073 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.8012, allocations: 84.42 kB / 1.073 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.8015, allocations: 113 kB / 1.073 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.8015, allocations: 12.88 kB / 1.073 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.8015, allocations: 0.75 kB / 1.073 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/0.8027, allocations: 1.093 MB / 1.074 GB, free: 5.012 MB / 0.7325 GB 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 postOpt removeSimpleEquations (simulation): time 0.003097/0.8058, allocations: 2.31 MB / 1.076 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8058, allocations: 0 / 1.076 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.8066, allocations: 173.4 kB / 1.076 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8066, allocations: 2.562 kB / 1.076 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.8067, allocations: 22.36 kB / 1.076 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.8067, allocations: 3.844 kB / 1.076 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8067, allocations: 3.938 kB / 1.076 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.8084, allocations: 1.358 MB / 1.078 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.8088, allocations: 256.6 kB / 1.078 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.8089, allocations: 15.94 kB / 1.078 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.8095, allocations: 18.31 kB / 1.078 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.8096, allocations: 45.66 kB / 1.078 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.8096, allocations: 28.2 kB / 1.078 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004671/0.8101, allocations: 415.1 kB / 1.079 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8101, allocations: 0 / 1.079 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000898/0.811, allocations: 370.5 kB / 1.079 GB, free: 2.051 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002311/0.8133, allocations: 1.985 MB / 1.081 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.8146, allocations: 0.7624 MB / 1.082 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8146, allocations: 0 / 1.082 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.8151, allocations: 411.1 kB / 1.082 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.8176, allocations: 0.5872 MB / 1.083 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009756/0.8274, allocations: 7.282 MB / 1.09 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.8282, allocations: 1.143 MB / 1.091 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008863/0.8291, allocations: 283.1 kB / 1.091 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.8296, allocations: 383.3 kB / 1.091 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/0.8296, allocations: 0 / 1.091 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05999/0.8896, allocations: 26.07 MB / 1.117 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.871/9.761, allocations: 3.984 kB / 1.117 GB, free: 12.05 MB / 0.7794 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.63169200019911] Failed to read output from testmodel.py, exit status != 0: 9.841077602934092 9.855063329 9.081426704 Calling exit ...