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.00129/0.00129, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001635/0.001635, allocations: 215 kB / 20.13 MB, free: 2.949 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.442/1.442, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002432/0.002432, allocations: 289.4 kB / 309.8 MB, free: 3.387 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.128/1.128, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",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.002815/0.002815, allocations: 96.14 kB / 0.7347 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4886, allocations: 95.34 MB / 0.8278 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.2349/0.7235, allocations: 207.9 MB / 1.031 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009921/0.7334, allocations: 6.378 MB / 1.037 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.7345, allocations: 51.62 kB / 1.037 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.7363, allocations: 0.7694 MB / 1.038 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.7429, allocations: 2.766 MB / 1.04 GB, free: 15.53 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.001997/0.7449, allocations: 0.7144 MB / 1.041 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004873/0.7497, allocations: 3.276 MB / 1.044 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.7513, allocations: 0.9414 MB / 1.045 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.754, allocations: 1.308 MB / 1.047 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.7572, allocations: 1.161 MB / 1.048 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003771/0.7576, allocations: 128 kB / 1.048 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005861/0.7634, allocations: 2.517 MB / 1.05 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009365/0.7644, allocations: 0.5297 MB / 1.051 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.7656, allocations: 0.7391 MB / 1.052 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.7709, allocations: 2.804 MB / 1.054 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.7709, allocations: 4 kB / 1.054 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7709, allocations: 0 / 1.054 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.7709, allocations: 4 kB / 1.054 GB, free: 1.355 MB / 0.7794 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.004099/0.775, allocations: 1.798 MB / 1.056 GB, free: 15.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.775, allocations: 12.03 kB / 1.056 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.746e-05/0.7751, allocations: 30.02 kB / 1.056 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.7753, allocations: 168.6 kB / 1.056 GB, free: 15.28 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.7776, allocations: 354.8 kB / 1.057 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.779, allocations: 0.8786 MB / 1.057 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.779, allocations: 74.02 kB / 1.058 GB, free: 13.94 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.7792, allocations: 99.98 kB / 1.058 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.7812, allocations: 1.202 MB / 1.059 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.7812, allocations: 0 / 1.059 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.7813, allocations: 43.98 kB / 1.059 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.451e-05/0.7814, allocations: 58.08 kB / 1.059 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.7833, allocations: 1.253 MB / 1.06 GB, free: 11.24 MB / 0.795 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.006623/0.79, allocations: 5.108 MB / 1.065 GB, free: 5.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.7915, allocations: 1.134 MB / 1.066 GB, free: 4.465 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.7923, allocations: 485.2 kB / 1.067 GB, free: 3.992 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.7923, allocations: 24.78 kB / 1.067 GB, free: 3.969 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00078/0.7931, allocations: 496.1 kB / 1.067 GB, free: 3.469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/0.7931, allocations: 4 kB / 1.067 GB, free: 3.465 MB / 0.795 GB Notification: Performance of matching and sorting (n=76): time 0.002046/0.7952, allocations: 1.15 MB / 1.068 GB, free: 2.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.7952, allocations: 64 kB / 1.068 GB, free: 2.238 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.7959, allocations: 0.5744 MB / 1.069 GB, free: 1.652 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.796, allocations: 41.7 kB / 1.069 GB, free: 1.605 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.7963, allocations: 468.6 kB / 1.069 GB, free: 1.141 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.7966, allocations: 281.6 kB / 1.07 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.7968, allocations: 138.6 kB / 1.07 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.797, allocations: 382.8 kB / 1.07 GB, free: 348 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.7975, allocations: 333.8 kB / 1.07 GB, free: 12 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.7982, allocations: 448.8 kB / 1.071 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.7993, allocations: 0.8272 MB / 1.072 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.7993, allocations: 0 / 1.072 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001538/0.8009, allocations: 0.938 MB / 1.073 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.8009, allocations: 11.94 kB / 1.073 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.8009, allocations: 0 / 1.073 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.8009, allocations: 8 kB / 1.073 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.8017, allocations: 151.8 kB / 1.073 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.8017, allocations: 11.94 kB / 1.073 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/0.8024, allocations: 67.5 kB / 1.073 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.8025, allocations: 24 kB / 1.073 GB, free: 13.45 MB / 0.8106 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.0005216/0.803, allocations: 333.7 kB / 1.073 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.8032, allocations: 87.42 kB / 1.073 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.8034, allocations: 107.8 kB / 1.073 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.8035, allocations: 8 kB / 1.073 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8035, allocations: 0 / 1.073 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/0.8048, allocations: 1.093 MB / 1.074 GB, free: 11.73 MB / 0.8106 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.003428/0.8083, allocations: 2.311 MB / 1.077 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8083, allocations: 7.969 kB / 1.077 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.8092, allocations: 171.8 kB / 1.077 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.8092, allocations: 4 kB / 1.077 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.8092, allocations: 19.98 kB / 1.077 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.8093, allocations: 4 kB / 1.077 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8093, allocations: 0 / 1.077 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.8113, allocations: 1.36 MB / 1.078 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.8118, allocations: 252.5 kB / 1.078 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.8119, allocations: 19.98 kB / 1.079 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.8125, allocations: 23.94 kB / 1.079 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.8126, allocations: 40.59 kB / 1.079 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.8127, allocations: 27.92 kB / 1.079 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005376/0.8132, allocations: 415.1 kB / 1.079 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/0.8132, allocations: 4 kB / 1.079 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009518/0.8142, allocations: 367.3 kB / 1.079 GB, free: 6.605 MB / 0.8106 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.00252/0.8167, allocations: 1.977 MB / 1.081 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.8181, allocations: 0.7674 MB / 1.082 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8181, allocations: 0 / 1.082 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.8187, allocations: 411.5 kB / 1.082 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.8215, allocations: 0.6 MB / 1.083 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.833, allocations: 7.269 MB / 1.09 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009398/0.834, allocations: 1.139 MB / 1.091 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000995/0.835, allocations: 267.2 kB / 1.091 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.8356, allocations: 375.3 kB / 1.092 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of SimCode: time 1.192e-06/0.8356, allocations: 0 / 1.092 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05655/0.8921, allocations: 26.11 MB / 1.117 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.525/10.42, allocations: 11.8 kB / 1.117 GB, free: 15.86 MB / 0.8575 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 14.462845947011374] Failed to read output from testmodel.py, exit status != 0: 10.561411653005052 10.585475822 9.810169292 Calling exit ...