Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8168/0.8168, allocations: 127.4 MB / 134.9 MB, free: 3.441 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 187.4 kB / 164.7 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.2 MB / 399.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000956/0.0009558, allocations: 93.56 kB / 476.7 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.819e-05, allocations: 2.688 kB / 0.5466 GB, free: 95.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 76.76 MB / 0.6215 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.021/6.21, allocations: 2.152 GB / 2.773 GB, free: 27.56 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/6.211, allocations: 87.95 kB / 2.774 GB, free: 27.48 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/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.357/8.567, allocations: 0.5909 GB / 3.364 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/8.567, allocations: 0 / 3.364 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001005/8.568, allocations: 27.16 kB / 3.364 GB, free: 109.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004914/8.572, allocations: 1.544 MB / 3.366 GB, free: 109 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/8.572, allocations: 7.844 kB / 3.366 GB, free: 109 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/8.575, allocations: 344 kB / 3.366 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/8.577, allocations: 0.8931 MB / 3.367 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/8.577, allocations: 35 kB / 3.367 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/8.577, allocations: 61.22 kB / 3.367 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001608/8.579, allocations: 0.9966 MB / 3.368 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/8.58, allocations: 0.9656 MB / 3.369 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/8.58, allocations: 0 / 3.369 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/8.58, allocations: 3.875 kB / 3.369 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/8.58, allocations: 59.56 kB / 3.369 GB, free: 108.6 MB / 0.6511 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.005706/8.586, allocations: 4.84 MB / 3.374 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/8.588, allocations: 3.391 MB / 3.377 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/8.589, allocations: 442.9 kB / 3.378 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.756e-05/8.589, allocations: 20.67 kB / 3.378 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005489/8.589, allocations: 403.8 kB / 3.378 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/8.589, allocations: 0 / 3.378 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.001155/8.591, allocations: 0.6781 MB / 3.379 GB, free: 103 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/8.591, allocations: 63.56 kB / 3.379 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/8.591, allocations: 413.1 kB / 3.379 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/8.591, allocations: 25.7 kB / 3.379 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/8.591, allocations: 464.9 kB / 3.38 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/8.592, allocations: 256.4 kB / 3.38 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/8.592, allocations: 0 / 3.38 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/8.592, allocations: 375.8 kB / 3.38 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/8.592, allocations: 263.7 kB / 3.38 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/8.592, allocations: 376.5 kB / 3.381 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/8.593, allocations: 337.1 kB / 3.381 GB, free: 102 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/8.593, allocations: 0 / 3.381 GB, free: 102 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009597/8.594, allocations: 0.7448 MB / 3.382 GB, free: 102 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/8.594, allocations: 5.719 kB / 3.382 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/8.594, allocations: 2.5 kB / 3.382 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/8.594, allocations: 6.438 kB / 3.382 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/8.594, allocations: 154.2 kB / 3.382 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/8.594, allocations: 14.31 kB / 3.382 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009889/8.595, allocations: 110.4 kB / 3.382 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/8.595, allocations: 35.17 kB / 3.382 GB, free: 101.9 MB / 0.6511 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 (90): * Single equations (assignments): 90 * 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.0001337/8.596, allocations: 117.9 kB / 3.382 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/8.596, allocations: 77.72 kB / 3.382 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/8.596, allocations: 85.55 kB / 3.382 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/8.596, allocations: 7.688 kB / 3.382 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/8.596, allocations: 1 kB / 3.382 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008188/8.597, allocations: 0.9441 MB / 3.383 GB, free: 101.3 MB / 0.6511 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.003145/8.6, allocations: 2.482 MB / 3.386 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/8.6, allocations: 0 / 3.386 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/8.601, allocations: 176.8 kB / 3.386 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/8.601, allocations: 3.219 kB / 3.386 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/8.601, allocations: 7.484 kB / 3.386 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/8.601, allocations: 7.391 kB / 3.386 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/8.601, allocations: 0.8438 kB / 3.386 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/8.602, allocations: 1.233 MB / 3.387 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/8.603, allocations: 244.1 kB / 3.387 GB, free: 99.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/8.603, allocations: 3.406 kB / 3.387 GB, free: 99.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/8.604, allocations: 96 kB / 3.388 GB, free: 99.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/8.604, allocations: 43.52 kB / 3.388 GB, free: 99.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/8.604, allocations: 27.78 kB / 3.388 GB, free: 99.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004295/8.605, allocations: 324.7 kB / 3.388 GB, free: 99.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/8.605, allocations: 2.594 kB / 3.388 GB, free: 99.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001679/8.607, allocations: 442.6 kB / 3.388 GB, free: 99.81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.002922/8.609, allocations: 1.835 MB / 3.39 GB, free: 99.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009984/8.61, allocations: 0.6416 MB / 3.391 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/8.61, allocations: 3.188 kB / 3.391 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/8.611, allocations: 352.9 kB / 3.391 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/8.613, allocations: 488.1 kB / 3.392 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/8.617, allocations: 1.699 MB / 3.393 GB, free: 98.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/8.618, allocations: 1.174 MB / 3.394 GB, free: 98.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00115/8.619, allocations: 244.8 kB / 3.395 GB, free: 98.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/8.619, allocations: 69.31 kB / 3.395 GB, free: 98.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.883e-06/8.619, allocations: 2.844 kB / 3.395 GB, free: 98.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.03692/8.656, allocations: 25.18 MB / 3.419 GB, free: 96.75 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)