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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.9039/0.9039, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001302, allocations: 179.2 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008636/0.0008636, allocations: 98.28 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001799/0.001799, allocations: 275 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005455/0.0005456, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.57, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/6, allocations: 2.035 GB / 2.774 GB, free: 175.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/6, allocations: 87.95 kB / 2.774 GB, free: 175 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.082/7.082, allocations: 354.3 MB / 3.12 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.893e-06/7.082, allocations: 4 kB / 3.12 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.204e-05/7.082, allocations: 8 kB / 3.12 GB, free: 78.1 MB / 0.6667 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.001541/7.083, allocations: 0.8452 MB / 3.121 GB, free: 77.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/7.083, allocations: 8.031 kB / 3.121 GB, free: 77.19 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/7.085, allocations: 172.2 kB / 3.121 GB, free: 77.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/7.085, allocations: 386.9 kB / 3.122 GB, free: 76.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/7.085, allocations: 25.03 kB / 3.122 GB, free: 76.59 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/7.085, allocations: 40.27 kB / 3.122 GB, free: 76.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/7.086, allocations: 374.5 kB / 3.122 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/7.086, allocations: 3.938 kB / 3.122 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/7.086, allocations: 23.94 kB / 3.122 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/7.086, allocations: 11.94 kB / 3.122 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/7.086, allocations: 258 kB / 3.122 GB, free: 75.86 MB / 0.6667 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.001532/7.088, allocations: 1.777 MB / 3.124 GB, free: 73.95 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/7.088, allocations: 190.5 kB / 3.124 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/7.088, allocations: 112.8 kB / 3.124 GB, free: 73.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007069/7.089, allocations: 0.87 MB / 3.125 GB, free: 72.58 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/7.089, allocations: 34.56 kB / 3.125 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=23): time 2.265e-06/7.089, allocations: 0 / 3.125 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.0007587/7.09, allocations: 354.4 kB / 3.126 GB, free: 72.19 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/7.09, allocations: 55.41 kB / 3.126 GB, free: 72.12 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/7.09, allocations: 421.9 kB / 3.126 GB, free: 71.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/7.09, allocations: 37.7 kB / 3.126 GB, free: 71.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/7.09, allocations: 208.6 kB / 3.126 GB, free: 71.45 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/7.09, allocations: 86.75 kB / 3.126 GB, free: 71.37 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/7.09, allocations: 0 / 3.126 GB, free: 71.37 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.561e-05/7.091, allocations: 354.8 kB / 3.127 GB, free: 71.01 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/7.091, allocations: 80.41 kB / 3.127 GB, free: 70.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/7.091, allocations: 139.4 kB / 3.127 GB, free: 70.78 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/7.091, allocations: 210.5 kB / 3.127 GB, free: 70.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/7.091, allocations: 4 kB / 3.127 GB, free: 70.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004136/7.092, allocations: 281.2 kB / 3.127 GB, free: 70.28 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/7.092, allocations: 8 kB / 3.127 GB, free: 70.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/7.092, allocations: 7.984 kB / 3.127 GB, free: 70.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/7.092, allocations: 3.938 kB / 3.127 GB, free: 70.26 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/7.092, allocations: 59.91 kB / 3.128 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/7.092, allocations: 0 / 3.128 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/7.092, allocations: 47.78 kB / 3.128 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/7.092, allocations: 11.94 kB / 3.128 GB, free: 70.14 MB / 0.6667 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.00014/7.092, allocations: 169.7 kB / 3.128 GB, free: 69.97 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/7.092, allocations: 43.44 kB / 3.128 GB, free: 69.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/7.093, allocations: 285.5 kB / 3.128 GB, free: 69.64 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/7.093, allocations: 7.938 kB / 3.128 GB, free: 69.63 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/7.093, allocations: 0 / 3.128 GB, free: 69.63 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/7.093, allocations: 3.984 kB / 3.128 GB, free: 69.63 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/7.094, allocations: 0.8047 MB / 3.129 GB, free: 68.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/7.094, allocations: 4 kB / 3.129 GB, free: 68.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/7.094, allocations: 52.09 kB / 3.129 GB, free: 68.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/7.094, allocations: 4 kB / 3.129 GB, free: 68.69 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/7.094, allocations: 8 kB / 3.129 GB, free: 68.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/7.094, allocations: 0 / 3.129 GB, free: 68.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/7.094, allocations: 4 kB / 3.129 GB, free: 68.68 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/7.095, allocations: 0.5114 MB / 3.129 GB, free: 68.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/7.095, allocations: 144.6 kB / 3.13 GB, free: 67.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/7.095, allocations: 4 kB / 3.13 GB, free: 67.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/7.095, allocations: 27.89 kB / 3.13 GB, free: 67.94 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.696e-05/7.095, allocations: 35.84 kB / 3.13 GB, free: 67.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/7.095, allocations: 8 kB / 3.13 GB, free: 67.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002541/7.096, allocations: 299.1 kB / 3.13 GB, free: 67.61 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/7.096, allocations: 0 / 3.13 GB, free: 67.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008796/7.097, allocations: 223.9 kB / 3.13 GB, free: 67.39 MB / 0.6667 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.001642/7.098, allocations: 1.196 MB / 3.131 GB, free: 66.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004458/7.099, allocations: 211.7 kB / 3.131 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/7.099, allocations: 4.062 kB / 3.132 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/7.099, allocations: 119.8 kB / 3.132 GB, free: 65.83 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/7.1, allocations: 223 kB / 3.132 GB, free: 65.62 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/7.102, allocations: 1.079 MB / 3.133 GB, free: 64.49 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/7.102, allocations: 0.8235 MB / 3.134 GB, free: 63.64 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002939/7.102, allocations: 83.33 kB / 3.134 GB, free: 63.56 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/7.102, allocations: 31.44 kB / 3.134 GB, free: 63.53 MB / 0.6667 GB Notification: Performance of SimCode: time 9.52e-07/7.102, allocations: 0 / 3.134 GB, free: 63.53 MB / 0.6667 GB Notification: Performance of Templates: time 0.0267/7.129, allocations: 21.95 MB / 3.155 GB, free: 41.65 MB / 0.6667 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)