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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7717/0.7717, allocations: 127.4 MB / 134.9 MB, free: 3.48 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.001072/0.001072, allocations: 182.4 kB / 164.7 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.001066/0.001066, allocations: 93.58 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.927e-05, allocations: 2.688 kB / 0.5467 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1893, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.732/5.921, allocations: 2.152 GB / 2.774 GB, free: 27.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/5.921, allocations: 89.02 kB / 2.774 GB, free: 27.36 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.602/8.523, allocations: 0.5909 GB / 3.364 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.403e-06/8.523, allocations: 0 / 3.364 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.27e-05/8.523, allocations: 29.02 kB / 3.365 GB, free: 109.9 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.00426/8.528, allocations: 1.554 MB / 3.366 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/8.528, allocations: 7.75 kB / 3.366 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/8.53, allocations: 341 kB / 3.366 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/8.531, allocations: 0.8873 MB / 3.367 GB, free: 109 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/8.532, allocations: 36.12 kB / 3.367 GB, free: 109 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/8.532, allocations: 58.81 kB / 3.367 GB, free: 109 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001587/8.533, allocations: 0.9948 MB / 3.368 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/8.535, allocations: 0.969 MB / 3.369 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/8.535, allocations: 0 / 3.369 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/8.535, allocations: 2.875 kB / 3.369 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/8.535, allocations: 62.61 kB / 3.369 GB, free: 108.9 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.005644/8.541, allocations: 4.837 MB / 3.374 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/8.543, allocations: 3.391 MB / 3.377 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/8.543, allocations: 445.2 kB / 3.378 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/8.543, allocations: 15.19 kB / 3.378 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000551/8.544, allocations: 410.8 kB / 3.378 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 2.945e-06/8.544, allocations: 0 / 3.378 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.00124/8.545, allocations: 0.6812 MB / 3.379 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/8.545, allocations: 57.81 kB / 3.379 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/8.546, allocations: 417.4 kB / 3.379 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/8.546, allocations: 25.7 kB / 3.379 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/8.546, allocations: 467.5 kB / 3.38 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/8.546, allocations: 256.4 kB / 3.38 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/8.546, allocations: 0 / 3.38 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001118/8.547, allocations: 376.5 kB / 3.38 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/8.547, allocations: 259.2 kB / 3.381 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/8.547, allocations: 374.6 kB / 3.381 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/8.548, allocations: 333.7 kB / 3.381 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/8.548, allocations: 3.938 kB / 3.381 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009561/8.549, allocations: 0.7454 MB / 3.382 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/8.549, allocations: 12.36 kB / 3.382 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/8.549, allocations: 1.906 kB / 3.382 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/8.549, allocations: 6.312 kB / 3.382 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/8.549, allocations: 154.2 kB / 3.382 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/8.549, allocations: 13.27 kB / 3.382 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/8.55, allocations: 118 kB / 3.382 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/8.55, allocations: 29.28 kB / 3.382 GB, free: 102.2 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.0001359/8.551, allocations: 118.4 kB / 3.382 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008612/8.551, allocations: 0.6642 MB / 3.383 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/8.551, allocations: 76.91 kB / 3.383 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/8.552, allocations: 81.97 kB / 3.383 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/8.552, allocations: 7 kB / 3.383 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/8.552, allocations: 3.594 kB / 3.383 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008016/8.553, allocations: 0.9418 MB / 3.384 GB, free: 101.5 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.003025/8.556, allocations: 2.48 MB / 3.387 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/8.556, allocations: 3.875 kB / 3.387 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/8.556, allocations: 174.3 kB / 3.387 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/8.556, allocations: 7 kB / 3.387 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/8.556, allocations: 9.156 kB / 3.387 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/8.556, allocations: 3.875 kB / 3.387 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/8.556, allocations: 0 / 3.387 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/8.558, allocations: 1.234 MB / 3.388 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/8.558, allocations: 237.8 kB / 3.388 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/8.558, allocations: 3.688 kB / 3.388 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/8.559, allocations: 98.33 kB / 3.388 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/8.559, allocations: 56.75 kB / 3.388 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/8.559, allocations: 21.8 kB / 3.388 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003675/8.56, allocations: 321.4 kB / 3.389 GB, free: 100 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/8.56, allocations: 3 kB / 3.389 GB, free: 100 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001316/8.561, allocations: 447.1 kB / 3.389 GB, free: 99.99 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.003623/8.565, allocations: 3.561 MB / 3.393 GB, free: 98.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009663/8.566, allocations: 0.6492 MB / 3.393 GB, free: 98.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/8.566, allocations: 0 / 3.393 GB, free: 98.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/8.566, allocations: 347.8 kB / 3.394 GB, free: 98.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/8.568, allocations: 0.4894 MB / 3.394 GB, free: 98.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/8.572, allocations: 1.939 MB / 3.396 GB, free: 98.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/8.572, allocations: 1.166 MB / 3.397 GB, free: 97.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00095/8.573, allocations: 243.1 kB / 3.397 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/8.574, allocations: 373.2 kB / 3.398 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/8.574, allocations: 7.25 kB / 3.398 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06668/8.641, allocations: 35.9 MB / 3.433 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/8.641, allocations: 142.8 kB / 3.433 GB, free: 95.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/11.9, allocations: 0 / 3.433 GB, free: 95.69 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)