Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9697/0.9697, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 175.9 kB / 191.5 MB, free: 5.777 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.839/1.839, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 100.2 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001958/0.001958, allocations: 271.4 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004828, allocations: 14.78 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.594/5.803, allocations: 1.871 GB / 2.644 GB, free: 207.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/5.803, allocations: 92.88 kB / 2.644 GB, free: 207.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.207/7.01, allocations: 360.4 MB / 2.996 GB, free: 136.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.555e-06/7.01, allocations: 0 / 2.996 GB, free: 136.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.895e-05/7.01, allocations: 19.94 kB / 2.996 GB, free: 136.2 MB / 0.7136 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.002218/7.013, allocations: 0.8436 MB / 2.997 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/7.013, allocations: 12.03 kB / 2.997 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/7.014, allocations: 171.2 kB / 2.997 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/7.015, allocations: 383.5 kB / 2.998 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/7.015, allocations: 28.66 kB / 2.998 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/7.015, allocations: 32 kB / 2.998 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/7.015, allocations: 375.6 kB / 2.998 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/7.016, allocations: 3.906 kB / 2.998 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/7.016, allocations: 19.94 kB / 2.998 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/7.016, allocations: 8 kB / 2.998 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/7.016, allocations: 266 kB / 2.998 GB, free: 134 MB / 0.7136 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.002013/7.018, allocations: 1.765 MB / 3 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/7.018, allocations: 194.5 kB / 3 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/7.019, allocations: 0.8623 MB / 3.001 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/7.019, allocations: 38.56 kB / 3.001 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 3.135e-06/7.019, allocations: 0 / 3.001 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0009201/7.02, allocations: 352.5 kB / 3.002 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/7.02, allocations: 59.41 kB / 3.002 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/7.021, allocations: 369.1 kB / 3.002 GB, free: 130 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/7.021, allocations: 33.7 kB / 3.002 GB, free: 130 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/7.021, allocations: 216.6 kB / 3.002 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/7.021, allocations: 78.95 kB / 3.002 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/7.021, allocations: 11.94 kB / 3.002 GB, free: 129.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001404/7.021, allocations: 350.8 kB / 3.003 GB, free: 129.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/7.021, allocations: 76.42 kB / 3.003 GB, free: 129.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/7.022, allocations: 134.2 kB / 3.003 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/7.022, allocations: 102.4 kB / 3.003 GB, free: 129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/7.022, allocations: 0 / 3.003 GB, free: 129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004683/7.022, allocations: 297.1 kB / 3.003 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/7.022, allocations: 4 kB / 3.003 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/7.022, allocations: 3.984 kB / 3.003 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/7.022, allocations: 4 kB / 3.003 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/7.023, allocations: 55.95 kB / 3.003 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/7.023, allocations: 0 / 3.003 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/7.023, allocations: 47.66 kB / 3.003 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/7.023, allocations: 12 kB / 3.003 GB, free: 128.6 MB / 0.7136 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.0001917/7.023, allocations: 169.8 kB / 3.003 GB, free: 128.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/7.023, allocations: 47.47 kB / 3.003 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/7.024, allocations: 291.8 kB / 3.004 GB, free: 128 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/7.024, allocations: 0 / 3.004 GB, free: 128 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/7.024, allocations: 0 / 3.004 GB, free: 128 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/7.024, allocations: 7.938 kB / 3.004 GB, free: 128 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/7.025, allocations: 0.8035 MB / 3.005 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/7.025, allocations: 0 / 3.005 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/7.025, allocations: 47.92 kB / 3.005 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/7.025, allocations: 4 kB / 3.005 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/7.025, allocations: 11.98 kB / 3.005 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/7.026, allocations: 8 kB / 3.005 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/7.026, allocations: 4.188 kB / 3.005 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/7.026, allocations: 0.5811 MB / 3.005 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/7.026, allocations: 140.6 kB / 3.005 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/7.027, allocations: 7.984 kB / 3.005 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/7.027, allocations: 27.89 kB / 3.005 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/7.027, allocations: 27.92 kB / 3.005 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/7.027, allocations: 8 kB / 3.005 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002901/7.027, allocations: 303.1 kB / 3.006 GB, free: 125.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/7.027, allocations: 0 / 3.006 GB, free: 125.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001155/7.028, allocations: 223.8 kB / 3.006 GB, free: 125.7 MB / 0.7136 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.001772/7.03, allocations: 1.198 MB / 3.007 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004759/7.031, allocations: 215.5 kB / 3.007 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/7.031, allocations: 0 / 3.007 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/7.031, allocations: 119.8 kB / 3.007 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/7.032, allocations: 205.7 kB / 3.008 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/7.033, allocations: 1.076 MB / 3.009 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/7.034, allocations: 0.8275 MB / 3.009 GB, free: 122 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003093/7.034, allocations: 87.33 kB / 3.01 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/7.034, allocations: 35.44 kB / 3.01 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/7.034, allocations: 4 kB / 3.01 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.02894/7.063, allocations: 21.8 MB / 3.031 GB, free: 100.1 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)