Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 99.12 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 183.7 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004346, allocations: 8 kB / 495.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1928, allocations: 77.53 MB / 0.5599 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5753/0.7682, allocations: 199.2 MB / 0.7545 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.7794, allocations: 6.378 MB / 0.7607 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.7813, allocations: 31.81 kB / 0.7608 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.7833, allocations: 0.6415 MB / 0.7614 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007357/0.7907, allocations: 2.521 MB / 0.7638 GB, free: 5.871 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.002007/0.7927, allocations: 0.6443 MB / 0.7645 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00571/0.7984, allocations: 4.837 MB / 0.7692 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.7999, allocations: 0.9087 MB / 0.7701 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.8023, allocations: 1.042 MB / 0.7711 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/0.8049, allocations: 1.104 MB / 0.7722 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.805, allocations: 56 kB / 0.7722 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005535/0.8106, allocations: 2.708 MB / 0.7749 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005979/0.8112, allocations: 450.6 kB / 0.7753 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.8122, allocations: 0.6705 MB / 0.776 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004719/0.8169, allocations: 2.851 MB / 0.7787 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.817, allocations: 0 / 0.7787 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.817, allocations: 0 / 0.7787 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.817, allocations: 4 kB / 0.7787 GB, free: 6.559 MB / 0.5919 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.003777/0.8208, allocations: 1.524 MB / 0.7802 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8208, allocations: 8.031 kB / 0.7802 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.823, allocations: 342.2 kB / 0.7806 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.8244, allocations: 0.8583 MB / 0.7814 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.8245, allocations: 78.02 kB / 0.7815 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.8246, allocations: 95.98 kB / 0.7816 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.8265, allocations: 1.187 MB / 0.7827 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.8266, allocations: 0 / 0.7827 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.8267, allocations: 47.98 kB / 0.7828 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/0.8268, allocations: 62.06 kB / 0.7828 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.8286, allocations: 1.246 MB / 0.7841 GB, free: 0.9766 MB / 0.5919 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.006264/0.8349, allocations: 5.077 MB / 0.789 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.8364, allocations: 1.161 MB / 0.7901 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007103/0.8371, allocations: 0.5065 MB / 0.7906 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.8372, allocations: 24.78 kB / 0.7907 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007433/0.838, allocations: 480.2 kB / 0.7911 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.936e-06/0.838, allocations: 0 / 0.7911 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.001973/0.8399, allocations: 1.157 MB / 0.7923 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.84, allocations: 64 kB / 0.7923 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.8407, allocations: 0.586 MB / 0.7929 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.8408, allocations: 37.7 kB / 0.7929 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.8412, allocations: 455.7 kB / 0.7934 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.8414, allocations: 272.1 kB / 0.7936 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8415, allocations: 65.69 kB / 0.7937 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.8417, allocations: 386.8 kB / 0.794 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.8422, allocations: 329.8 kB / 0.7944 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.8428, allocations: 448.8 kB / 0.7948 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.8438, allocations: 0.8271 MB / 0.7956 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8439, allocations: 7.938 kB / 0.7956 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001356/0.8452, allocations: 0.9257 MB / 0.7965 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.8453, allocations: 4 kB / 0.7965 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.8453, allocations: 7.938 kB / 0.7965 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.8453, allocations: 4.344 kB / 0.7965 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.846, allocations: 163.7 kB / 0.7967 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.846, allocations: 11.98 kB / 0.7967 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8471, allocations: 155.2 kB / 0.7968 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.8472, allocations: 28 kB / 0.7969 GB, free: 3.172 MB / 0.6075 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.0006084/0.8478, allocations: 330.3 kB / 0.7972 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.848, allocations: 79.06 kB / 0.7973 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.8482, allocations: 103.8 kB / 0.7974 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.8483, allocations: 11.94 kB / 0.7974 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.8483, allocations: 3.984 kB / 0.7974 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/0.8496, allocations: 1.089 MB / 0.7984 GB, free: 1.461 MB / 0.6075 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.003481/0.8531, allocations: 2.312 MB / 0.8007 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8531, allocations: 0 / 0.8007 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/0.8539, allocations: 175.8 kB / 0.8009 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.8539, allocations: 4 kB / 0.8009 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.854, allocations: 15.98 kB / 0.8009 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.854, allocations: 7.938 kB / 0.8009 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.854, allocations: 4.031 kB / 0.8009 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.8559, allocations: 1.354 MB / 0.8022 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.8564, allocations: 255.9 kB / 0.8025 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.8565, allocations: 16 kB / 0.8025 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/0.8573, allocations: 99.75 kB / 0.8026 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.8574, allocations: 44.59 kB / 0.8026 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.8574, allocations: 24 kB / 0.8026 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004872/0.8579, allocations: 415 kB / 0.803 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8579, allocations: 3.938 kB / 0.803 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009997/0.8589, allocations: 363.1 kB / 0.8034 GB, free: 12.27 MB / 0.6231 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.0003458/0.8593, allocations: 187 kB / 0.8036 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.8605, allocations: 0.798 MB / 0.8043 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8606, allocations: 0 / 0.8043 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.8611, allocations: 424.2 kB / 0.8047 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.8639, allocations: 0.5595 MB / 0.8053 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.8678, allocations: 2.749 MB / 0.808 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.8685, allocations: 1.144 MB / 0.8091 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001013/0.8696, allocations: 271.1 kB / 0.8094 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.8698, allocations: 75.44 kB / 0.8094 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of SimCode: time 1.573e-06/0.8698, allocations: 0 / 0.8094 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of Templates: time 0.03226/0.9021, allocations: 18.13 MB / 0.8271 GB, free: 4.125 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)