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.00128/0.00128, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001446/0.001446, allocations: 211.7 kB / 23.04 MB, free: 5.074 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.002483/0.002483, allocations: 291.7 kB / 313.5 MB, free: 2.855 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.197/1.197, allocations: 180.6 MB / 0.5377 GB, free: 13.12 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 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.002781/0.002781, allocations: 103.2 kB / 0.7403 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.169, allocations: 95.38 MB / 0.8335 GB, free: 8.68 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.653/0.8219, allocations: 208.3 MB / 1.037 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009889/0.8318, allocations: 6.404 MB / 1.043 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.8336, allocations: 51.34 kB / 1.043 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.8355, allocations: 0.7732 MB / 1.044 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.8423, allocations: 2.826 MB / 1.047 GB, free: 2.727 MB / 0.7169 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.001832/0.8442, allocations: 0.733 MB / 1.047 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004074/0.8482, allocations: 3.354 MB / 1.051 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.8494, allocations: 0.8181 MB / 1.052 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.8519, allocations: 1.306 MB / 1.053 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.8547, allocations: 1.177 MB / 1.054 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.8549, allocations: 130.7 kB / 1.054 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004816/0.8597, allocations: 2.554 MB / 1.057 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007458/0.8605, allocations: 0.5332 MB / 1.057 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.8617, allocations: 0.7412 MB / 1.058 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005359/0.867, allocations: 2.805 MB / 1.061 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.867, allocations: 2.75 kB / 1.061 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8671, allocations: 0.9688 kB / 1.061 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.555e-05/0.8671, allocations: 0 / 1.061 GB, free: 1.426 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.00417/0.8713, allocations: 1.735 MB / 1.062 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8713, allocations: 12.84 kB / 1.062 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.975e-05/0.8713, allocations: 27.33 kB / 1.062 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.8715, allocations: 162.1 kB / 1.062 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.8737, allocations: 355.7 kB / 1.063 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.8752, allocations: 0.8151 MB / 1.064 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.8752, allocations: 77.06 kB / 1.064 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.8753, allocations: 103.3 kB / 1.064 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.8772, allocations: 1.185 MB / 1.065 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.8773, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.8774, allocations: 44.06 kB / 1.065 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.8775, allocations: 58.53 kB / 1.065 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.8793, allocations: 1.252 MB / 1.066 GB, free: 14.84 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.007005/0.8863, allocations: 5.056 MB / 1.071 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.8877, allocations: 0.8302 MB / 1.072 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.8884, allocations: 493 kB / 1.072 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.8884, allocations: 15.81 kB / 1.072 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/0.8892, allocations: 493.1 kB / 1.073 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.8892, allocations: 0 / 1.073 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001945/0.8911, allocations: 1.157 MB / 1.074 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.8912, allocations: 67.36 kB / 1.074 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.8919, allocations: 0.5753 MB / 1.075 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.8919, allocations: 40.55 kB / 1.075 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.8923, allocations: 472.4 kB / 1.075 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.8926, allocations: 276.5 kB / 1.075 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.8928, allocations: 131.8 kB / 1.076 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.893, allocations: 385.4 kB / 1.076 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.8935, allocations: 332.3 kB / 1.076 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.894, allocations: 449.6 kB / 1.077 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.8951, allocations: 0.8253 MB / 1.077 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.8951, allocations: 4.969 kB / 1.077 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001346/0.8964, allocations: 0.9325 MB / 1.078 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8964, allocations: 5.469 kB / 1.078 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8964, allocations: 3.844 kB / 1.078 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.8965, allocations: 11.31 kB / 1.078 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.8971, allocations: 156.7 kB / 1.079 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.8971, allocations: 8 kB / 1.079 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.8979, allocations: 67.95 kB / 1.079 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.8979, allocations: 30.47 kB / 1.079 GB, free: 6.195 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.000501/0.8984, allocations: 330.1 kB / 1.079 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.8986, allocations: 85.02 kB / 1.079 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.8988, allocations: 110.5 kB / 1.079 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.8988, allocations: 10.47 kB / 1.079 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.8988, allocations: 1.719 kB / 1.079 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/0.9001, allocations: 1.09 MB / 1.08 GB, free: 5.023 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.003282/0.9034, allocations: 2.278 MB / 1.082 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9034, allocations: 1.094 kB / 1.082 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.9042, allocations: 177.3 kB / 1.083 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.9042, allocations: 2.75 kB / 1.083 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.9043, allocations: 16.41 kB / 1.083 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.9043, allocations: 9.922 kB / 1.083 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.9043, allocations: 0 / 1.083 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.9062, allocations: 1.356 MB / 1.084 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.9067, allocations: 180.8 kB / 1.084 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9068, allocations: 17.47 kB / 1.084 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.9074, allocations: 26.55 kB / 1.084 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.9075, allocations: 47.53 kB / 1.084 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.9076, allocations: 19.97 kB / 1.084 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004912/0.9081, allocations: 422.5 kB / 1.085 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9081, allocations: 0 / 1.085 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009342/0.909, allocations: 367.4 kB / 1.085 GB, free: 2.188 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.002442/0.9114, allocations: 1.987 MB / 1.087 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.9128, allocations: 0.7733 MB / 1.088 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9128, allocations: 1.062 kB / 1.088 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.9133, allocations: 411 kB / 1.088 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.9162, allocations: 0.5782 MB / 1.089 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.9277, allocations: 7.285 MB / 1.096 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/0.9286, allocations: 1.144 MB / 1.097 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001019/0.9296, allocations: 275.1 kB / 1.097 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/0.9303, allocations: 379.3 kB / 1.098 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/0.9303, allocations: 0 / 1.098 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06463/0.9949, allocations: 26.75 MB / 1.124 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.68, allocations: 8 kB / 1.124 GB, free: 11.36 MB / 0.7794 GB " [Timeout remaining time 646] (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: 17.93081983801676] Failed to read output from testmodel.py, exit status != 0: 13.86281084298389 13.891706667 13.018974582 Calling exit ...