Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8529/0.8529, allocations: 128.8 MB / 143.7 MB, free: 2.305 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.001388/0.001388, allocations: 190.3 kB / 173.8 MB, free: 6.113 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.888/1.888, allocations: 205.4 MB / 409 MB, free: 10.51 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.001222/0.001222, allocations: 106.3 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004644, allocations: 9.5 kB / 0.5603 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 76.77 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.438/6.672, allocations: 2.14 GB / 2.776 GB, free: 235.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/6.672, allocations: 96.67 kB / 2.776 GB, free: 235.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.204/7.877, allocations: 351.1 MB / 3.119 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/7.877, allocations: 0 / 3.119 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.512e-05/7.877, allocations: 12 kB / 3.119 GB, free: 139.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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001756/7.879, allocations: 0.8399 MB / 3.119 GB, free: 139 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/7.879, allocations: 8.031 kB / 3.119 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/7.88, allocations: 175.2 kB / 3.12 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/7.881, allocations: 387.2 kB / 3.12 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/7.881, allocations: 28.66 kB / 3.12 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/7.881, allocations: 36 kB / 3.12 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/7.881, allocations: 352.2 kB / 3.12 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/7.881, allocations: 4 kB / 3.12 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/7.881, allocations: 12 kB / 3.12 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/7.881, allocations: 8 kB / 3.12 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/7.882, allocations: 262 kB / 3.121 GB, free: 137.7 MB / 0.6511 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.001575/7.883, allocations: 1.592 MB / 3.122 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/7.884, allocations: 210.6 kB / 3.122 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/7.885, allocations: 0.8685 MB / 3.123 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/7.885, allocations: 34.56 kB / 3.123 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 2.365e-06/7.885, allocations: 0 / 3.123 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0008033/7.885, allocations: 355.9 kB / 3.124 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/7.886, allocations: 59.39 kB / 3.124 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/7.886, allocations: 361.1 kB / 3.124 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/7.886, allocations: 33.7 kB / 3.124 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/7.886, allocations: 212.2 kB / 3.124 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/7.886, allocations: 85.42 kB / 3.124 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/7.886, allocations: 4 kB / 3.124 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001002/7.886, allocations: 358.7 kB / 3.125 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/7.886, allocations: 84.42 kB / 3.125 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/7.887, allocations: 132.3 kB / 3.125 GB, free: 133 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/7.887, allocations: 96.77 kB / 3.125 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/7.887, allocations: 0 / 3.125 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004407/7.887, allocations: 298 kB / 3.125 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/7.887, allocations: 4 kB / 3.125 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/7.887, allocations: 4 kB / 3.125 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/7.887, allocations: 0 / 3.125 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/7.888, allocations: 55.91 kB / 3.125 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/7.888, allocations: 0 / 3.125 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/7.888, allocations: 47.7 kB / 3.125 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/7.888, allocations: 19.92 kB / 3.125 GB, free: 132.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.000173/7.888, allocations: 161.7 kB / 3.126 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/7.888, allocations: 43.53 kB / 3.126 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/7.889, allocations: 292.4 kB / 3.126 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/7.889, allocations: 0 / 3.126 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/7.889, allocations: 3.984 kB / 3.126 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/7.889, allocations: 3.938 kB / 3.126 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/7.89, allocations: 0.8001 MB / 3.127 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/7.89, allocations: 0 / 3.127 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/7.89, allocations: 51.91 kB / 3.127 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/7.89, allocations: 0 / 3.127 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/7.89, allocations: 8 kB / 3.127 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/7.89, allocations: 7.953 kB / 3.127 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/7.89, allocations: 3.984 kB / 3.127 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/7.891, allocations: 0.5724 MB / 3.127 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/7.891, allocations: 144.6 kB / 3.127 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/7.891, allocations: 8 kB / 3.127 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/7.891, allocations: 23.94 kB / 3.127 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/7.891, allocations: 23.91 kB / 3.127 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/7.891, allocations: 12 kB / 3.127 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003332/7.892, allocations: 298.5 kB / 3.128 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/7.892, allocations: 0 / 3.128 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001255/7.893, allocations: 223.8 kB / 3.128 GB, free: 129.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.002038/7.895, allocations: 1.217 MB / 3.129 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005108/7.896, allocations: 215.6 kB / 3.129 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/7.896, allocations: 0 / 3.129 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/7.896, allocations: 116.2 kB / 3.129 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/7.897, allocations: 217.5 kB / 3.13 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/7.899, allocations: 1.065 MB / 3.131 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/7.899, allocations: 0.8392 MB / 3.132 GB, free: 126 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003042/7.899, allocations: 79.34 kB / 3.132 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/7.899, allocations: 38.72 kB / 3.132 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/7.899, allocations: 0 / 3.132 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.02849/7.928, allocations: 21.79 MB / 3.153 GB, free: 104.2 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)