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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5725/0.5725, allocations: 90.92 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009434/0.0009434, allocations: 108.6 kB / 416 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 0 / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 72.32 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.834/6.011, allocations: 1.875 GB / 2.428 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/6.011, allocations: 83.95 kB / 2.428 GB, free: 58.01 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.614/8.625, allocations: 0.609 GB / 3.037 GB, free: 97.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/8.625, allocations: 3.938 kB / 3.037 GB, free: 97.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001383/8.625, allocations: 25.22 kB / 3.038 GB, free: 97.09 MB / 0.6042 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.00753/8.633, allocations: 1.555 MB / 3.039 GB, free: 96.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.781e-05/8.633, allocations: 10.47 kB / 3.039 GB, free: 96.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003457/8.637, allocations: 335.2 kB / 3.039 GB, free: 96.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/8.639, allocations: 0.8568 MB / 3.04 GB, free: 96.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/8.639, allocations: 35.5 kB / 3.04 GB, free: 96.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/8.64, allocations: 63.81 kB / 3.04 GB, free: 96.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002084/8.642, allocations: 0.9907 MB / 3.041 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/8.644, allocations: 0.9583 MB / 3.042 GB, free: 96.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/8.644, allocations: 0 / 3.042 GB, free: 96.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/8.644, allocations: 3.625 kB / 3.042 GB, free: 96.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/8.644, allocations: 59.03 kB / 3.042 GB, free: 96.04 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.005945/8.65, allocations: 4.859 MB / 3.047 GB, free: 93.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/8.652, allocations: 3.403 MB / 3.05 GB, free: 90.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/8.652, allocations: 452.1 kB / 3.051 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/8.653, allocations: 19.41 kB / 3.051 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/8.653, allocations: 399.9 kB / 3.051 GB, free: 90.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 4.208e-06/8.653, allocations: 3.234 kB / 3.051 GB, free: 90.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001254/8.654, allocations: 0.6942 MB / 3.052 GB, free: 90.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/8.654, allocations: 61.91 kB / 3.052 GB, free: 90.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/8.655, allocations: 424.4 kB / 3.052 GB, free: 90.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/8.655, allocations: 25.7 kB / 3.052 GB, free: 90.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/8.655, allocations: 459.3 kB / 3.053 GB, free: 90.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/8.655, allocations: 262.2 kB / 3.053 GB, free: 89.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/8.655, allocations: 0 / 3.053 GB, free: 89.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001033/8.656, allocations: 383 kB / 3.053 GB, free: 89.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/8.656, allocations: 262.8 kB / 3.054 GB, free: 89.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/8.656, allocations: 372.4 kB / 3.054 GB, free: 89.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/8.657, allocations: 339.3 kB / 3.054 GB, free: 89.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/8.657, allocations: 0 / 3.054 GB, free: 89.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009866/8.658, allocations: 0.7658 MB / 3.055 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/8.658, allocations: 3.719 kB / 3.055 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/8.658, allocations: 3.938 kB / 3.055 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/8.658, allocations: 6.656 kB / 3.055 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/8.658, allocations: 160.7 kB / 3.055 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/8.658, allocations: 5.562 kB / 3.055 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/8.659, allocations: 141.1 kB / 3.055 GB, free: 89.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/8.66, allocations: 26.41 kB / 3.055 GB, free: 89.33 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/8.66, allocations: 130 kB / 3.056 GB, free: 89.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/8.66, allocations: 75.94 kB / 3.056 GB, free: 89.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/8.66, allocations: 85.98 kB / 3.056 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/8.66, allocations: 11.61 kB / 3.056 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/8.66, allocations: 0 / 3.056 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008538/8.661, allocations: 0.9436 MB / 3.057 GB, free: 88.71 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.002842/8.664, allocations: 2.505 MB / 3.059 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/8.664, allocations: 0 / 3.059 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/8.664, allocations: 177.2 kB / 3.059 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/8.664, allocations: 3.125 kB / 3.059 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/8.665, allocations: 14.45 kB / 3.059 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/8.665, allocations: 3.609 kB / 3.059 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/8.665, allocations: 3.688 kB / 3.059 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/8.666, allocations: 1.159 MB / 3.06 GB, free: 87.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/8.666, allocations: 240.1 kB / 3.061 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/8.666, allocations: 2.469 kB / 3.061 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/8.667, allocations: 97.62 kB / 3.061 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/8.667, allocations: 46.64 kB / 3.061 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/8.667, allocations: 28.83 kB / 3.061 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003546/8.668, allocations: 323.3 kB / 3.061 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/8.668, allocations: 0 / 3.061 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001354/8.669, allocations: 449.2 kB / 3.062 GB, free: 87.13 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002505/8.672, allocations: 1.795 MB / 3.063 GB, free: 86.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009402/8.673, allocations: 0.6595 MB / 3.064 GB, free: 86.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/8.673, allocations: 3.125 kB / 3.064 GB, free: 86.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/8.673, allocations: 358 kB / 3.064 GB, free: 86.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/8.675, allocations: 499.1 kB / 3.065 GB, free: 86.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/8.679, allocations: 1.707 MB / 3.066 GB, free: 86.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/8.679, allocations: 1.155 MB / 3.068 GB, free: 85.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00106/8.681, allocations: 249.7 kB / 3.068 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/8.681, allocations: 72.86 kB / 3.068 GB, free: 85.47 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/8.681, allocations: 3.438 kB / 3.068 GB, free: 85.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.04015/8.721, allocations: 24.75 MB / 3.092 GB, free: 83.36 MB / 0.6042 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)