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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002338/0.002338, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.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.002355/0.002355, allocations: 279.6 kB / 304.8 MB, free: 3.531 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.067/1.067, allocations: 180.9 MB / 0.5282 GB, free: 1.938 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002806/0.002806, allocations: 111.8 kB / 0.7283 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5182, allocations: 94.16 MB / 0.8203 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.2552/0.7735, allocations: 205.3 MB / 1.021 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.7858, allocations: 6.411 MB / 1.027 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.7879, allocations: 39.81 kB / 1.027 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.7903, allocations: 0.7694 MB / 1.028 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009331/0.7996, allocations: 2.761 MB / 1.031 GB, free: 5.68 MB / 0.7637 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.002683/0.8023, allocations: 0.7322 MB / 1.031 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005822/0.8081, allocations: 3.282 MB / 1.034 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.81, allocations: 0.8203 MB / 1.035 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003499/0.8135, allocations: 1.289 MB / 1.037 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.8171, allocations: 1.182 MB / 1.038 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003237/0.8175, allocations: 128 kB / 1.038 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006702/0.8242, allocations: 2.502 MB / 1.04 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.8254, allocations: 0.5298 MB / 1.041 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.8275, allocations: 0.7391 MB / 1.041 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007565/0.8351, allocations: 2.808 MB / 1.044 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.8351, allocations: 0 / 1.044 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8351, allocations: 0 / 1.044 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.9e-05/0.8352, allocations: 0 / 1.044 GB, free: 7.613 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.006263/0.8415, allocations: 1.813 MB / 1.046 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8415, allocations: 8.031 kB / 1.046 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.844, allocations: 350.9 kB / 1.046 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.8457, allocations: 0.8824 MB / 1.047 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.8458, allocations: 74.02 kB / 1.047 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.8459, allocations: 107.9 kB / 1.047 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.8481, allocations: 1.191 MB / 1.049 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.8482, allocations: 0 / 1.049 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.8483, allocations: 36 kB / 1.049 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.417e-05/0.8484, allocations: 58.08 kB / 1.049 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.8504, allocations: 1.257 MB / 1.05 GB, free: 1.703 MB / 0.7794 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.007569/0.858, allocations: 5.113 MB / 1.055 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.8596, allocations: 1.142 MB / 1.056 GB, free: 10.91 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000749/0.8604, allocations: 485.2 kB / 1.056 GB, free: 10.44 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.8604, allocations: 16.78 kB / 1.056 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008103/0.8613, allocations: 488.2 kB / 1.057 GB, free: 9.934 MB / 0.795 GB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/0.8613, allocations: 0 / 1.057 GB, free: 9.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=76): time 0.002122/0.8634, allocations: 1.165 MB / 1.058 GB, free: 8.766 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.8634, allocations: 60.06 kB / 1.058 GB, free: 8.695 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007752/0.8642, allocations: 0.5706 MB / 1.059 GB, free: 8.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.8643, allocations: 41.7 kB / 1.059 GB, free: 8.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.8646, allocations: 468.6 kB / 1.059 GB, free: 7.605 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.8649, allocations: 285.5 kB / 1.059 GB, free: 7.324 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.8652, allocations: 134.6 kB / 1.06 GB, free: 7.188 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.8654, allocations: 386.8 kB / 1.06 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.8659, allocations: 333.8 kB / 1.06 GB, free: 6.469 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.8665, allocations: 456.7 kB / 1.061 GB, free: 5.984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.8677, allocations: 0.8155 MB / 1.061 GB, free: 5.133 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8677, allocations: 0 / 1.061 GB, free: 5.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001539/0.8693, allocations: 0.9379 MB / 1.062 GB, free: 4.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.8693, allocations: 8 kB / 1.062 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.8693, allocations: 7.938 kB / 1.062 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.8693, allocations: 4 kB / 1.062 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.87, allocations: 155.8 kB / 1.063 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.87, allocations: 4 kB / 1.063 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.8707, allocations: 67.5 kB / 1.063 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.8708, allocations: 28 kB / 1.063 GB, free: 3.918 MB / 0.795 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.000572/0.8714, allocations: 337.7 kB / 1.063 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.8715, allocations: 83.48 kB / 1.063 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.8718, allocations: 111.7 kB / 1.063 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.8718, allocations: 8 kB / 1.063 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.8718, allocations: 0 / 1.063 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/0.8732, allocations: 1.085 MB / 1.064 GB, free: 2.199 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 postOpt removeSimpleEquations (simulation): time 0.003615/0.8769, allocations: 2.318 MB / 1.066 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8769, allocations: 0 / 1.066 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.8777, allocations: 175.8 kB / 1.067 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.8777, allocations: 4 kB / 1.067 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.8778, allocations: 15.98 kB / 1.067 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.8778, allocations: 4 kB / 1.067 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8778, allocations: 0 / 1.067 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.8798, allocations: 1.356 MB / 1.068 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/0.8803, allocations: 256.4 kB / 1.068 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.8804, allocations: 16 kB / 1.068 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.881, allocations: 20.11 kB / 1.068 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8812, allocations: 48.53 kB / 1.068 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.8812, allocations: 27.98 kB / 1.068 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005958/0.8818, allocations: 411.1 kB / 1.069 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8818, allocations: 4 kB / 1.069 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00109/0.8829, allocations: 375.2 kB / 1.069 GB, free: 13.07 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.0003763/0.8833, allocations: 188.4 kB / 1.069 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.8847, allocations: 0.7551 MB / 1.07 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.8847, allocations: 7.938 kB / 1.07 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.8853, allocations: 403.6 kB / 1.07 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.8879, allocations: 0.5901 MB / 1.071 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.892, allocations: 2.212 MB / 1.073 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000986/0.893, allocations: 1.136 MB / 1.074 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001008/0.894, allocations: 275.1 kB / 1.075 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.8943, allocations: 71.42 kB / 1.075 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of SimCode: time 1.062e-06/0.8943, allocations: 0 / 1.075 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of Templates: time 0.03835/0.9326, allocations: 19.67 MB / 1.094 GB, free: 3.977 MB / 0.8262 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.502603300847113]