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.0009125/0.0009125, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009701/0.0009701, allocations: 165.3 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.8878/0.8878, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.001641/0.001641, allocations: 241.2 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.6828/0.6828, allocations: 138.4 MB / 455.2 MB, free: 1.555 MB / 362.7 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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.571e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3056/0.3057, allocations: 151.7 MB / 0.7033 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004402/0.3101, allocations: 3.714 MB / 0.7069 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.3106, allocations: 47.69 kB / 0.7069 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.3112, allocations: 309.9 kB / 0.7072 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.3128, allocations: 1.379 MB / 0.7086 GB, free: 15.61 MB / 0.5261 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.0007522/0.3136, allocations: 0.556 MB / 0.7091 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.3159, allocations: 3.313 MB / 0.7123 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000881/0.3168, allocations: 0.8485 MB / 0.7132 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.3182, allocations: 1.496 MB / 0.7146 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.3195, allocations: 1.077 MB / 0.7157 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.3196, allocations: 128 kB / 0.7158 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.3202, allocations: 466.8 kB / 0.7163 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.3206, allocations: 0.5649 MB / 0.7168 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.321, allocations: 0.5458 MB / 0.7173 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3222, allocations: 1.328 MB / 0.7186 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3222, allocations: 0 / 0.7186 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3222, allocations: 0 / 0.7186 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.3222, allocations: 0 / 0.7186 GB, free: 5.281 MB / 0.5261 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.002175/0.3244, allocations: 1.725 MB / 0.7203 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3244, allocations: 8.75 kB / 0.7203 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3256, allocations: 467.6 kB / 0.7208 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008964/0.3265, allocations: 0.8096 MB / 0.7216 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.3265, allocations: 70.02 kB / 0.7216 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3267, allocations: 108 kB / 0.7217 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.3276, allocations: 0.8614 MB / 0.7226 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3276, allocations: 11.42 kB / 0.7226 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.3277, allocations: 39.98 kB / 0.7226 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.3277, allocations: 62.08 kB / 0.7227 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.3285, allocations: 0.4962 MB / 0.7232 GB, free: 488 kB / 0.5261 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.003002/0.3315, allocations: 2.597 MB / 0.7257 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.3322, allocations: 494.1 kB / 0.7262 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.3325, allocations: 252.5 kB / 0.7264 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.3326, allocations: 20.64 kB / 0.7264 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.333, allocations: 495.6 kB / 0.7269 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=76): time 1.793e-06/0.333, allocations: 0 / 0.7269 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.0009223/0.3339, allocations: 0.638 MB / 0.7275 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.3339, allocations: 56.06 kB / 0.7276 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.3344, allocations: 0.522 MB / 0.7281 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.3344, allocations: 41.7 kB / 0.7281 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.3347, allocations: 0.5188 MB / 0.7286 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.3348, allocations: 289.8 kB / 0.7289 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.335, allocations: 144.3 kB / 0.7291 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3351, allocations: 0.5586 MB / 0.7296 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.3353, allocations: 129.9 kB / 0.7297 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.3356, allocations: 286.7 kB / 0.73 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.3361, allocations: 449.2 kB / 0.7304 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3361, allocations: 0 / 0.7304 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006805/0.3368, allocations: 0.575 MB / 0.731 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3368, allocations: 8 kB / 0.731 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3368, allocations: 0 / 0.731 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3369, allocations: 8 kB / 0.731 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.3372, allocations: 147.8 kB / 0.7311 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3372, allocations: 15.88 kB / 0.7312 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.3375, allocations: 63.48 kB / 0.7312 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.3376, allocations: 28 kB / 0.7312 GB, free: 7.898 MB / 0.5417 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.0001669/0.3377, allocations: 188.5 kB / 0.7314 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.3378, allocations: 107.6 kB / 0.7315 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.3379, allocations: 103.2 kB / 0.7316 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3379, allocations: 8 kB / 0.7316 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3379, allocations: 0 / 0.7316 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005882/0.3385, allocations: 0.7337 MB / 0.7324 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3401, allocations: 1.49 MB / 0.7338 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3401, allocations: 0 / 0.7338 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.3405, allocations: 183.8 kB / 0.734 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.3405, allocations: 7.938 kB / 0.734 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.3406, allocations: 13.5 kB / 0.734 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3406, allocations: 4 kB / 0.734 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3406, allocations: 3.984 kB / 0.734 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.3414, allocations: 0.8357 MB / 0.7348 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.3416, allocations: 173.1 kB / 0.735 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.3417, allocations: 16 kB / 0.735 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.342, allocations: 23.98 kB / 0.735 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.342, allocations: 44.52 kB / 0.7351 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.342, allocations: 27.98 kB / 0.7351 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002279/0.3423, allocations: 342.8 kB / 0.7354 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3423, allocations: 0 / 0.7354 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004758/0.3427, allocations: 375.2 kB / 0.7358 GB, free: 3.078 MB / 0.5417 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.000146/0.3429, allocations: 123.9 kB / 0.7359 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.3434, allocations: 439.2 kB / 0.7363 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3434, allocations: 0 / 0.7363 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.3437, allocations: 248.6 kB / 0.7366 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3449, allocations: 0.5374 MB / 0.7371 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3469, allocations: 1.782 MB / 0.7388 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.3471, allocations: 259.5 kB / 0.7391 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004452/0.3475, allocations: 222.6 kB / 0.7393 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3477, allocations: 76.48 kB / 0.7394 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.21e-07/0.3477, allocations: 0 / 0.7394 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01774/0.3654, allocations: 17.74 MB / 0.7567 GB, free: 14.12 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.145655580796301]