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.7952/0.7952, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.0009694/0.0009694, allocations: 184.1 kB / 182.2 MB, free: 9.465 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.309/1.309, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0008986/0.0008986, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 289 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.163e-05/1.166e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.334, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.687/4.021, allocations: 1.87 GB / 2.627 GB, free: 149.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/4.021, allocations: 90.83 kB / 2.627 GB, free: 149.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9887/5.01, allocations: 355.9 MB / 2.975 GB, free: 80.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/5.01, allocations: 0 / 2.975 GB, free: 80.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.217e-05/5.01, allocations: 8 kB / 2.975 GB, free: 80.45 MB / 0.698 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.001546/5.011, allocations: 0.7556 MB / 2.976 GB, free: 79.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/5.011, allocations: 12.03 kB / 2.976 GB, free: 79.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/5.013, allocations: 175.2 kB / 2.976 GB, free: 79.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/5.013, allocations: 397.3 kB / 2.976 GB, free: 79.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/5.013, allocations: 8.688 kB / 2.976 GB, free: 79.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/5.013, allocations: 20 kB / 2.976 GB, free: 79.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000319/5.014, allocations: 197.5 kB / 2.976 GB, free: 78.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/5.014, allocations: 306.1 kB / 2.977 GB, free: 78.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/5.014, allocations: 8 kB / 2.977 GB, free: 78.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/5.014, allocations: 0 / 2.977 GB, free: 78.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/5.014, allocations: 8 kB / 2.977 GB, free: 78.46 MB / 0.698 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.00156/5.016, allocations: 1.679 MB / 2.978 GB, free: 76.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/5.016, allocations: 162.6 kB / 2.978 GB, free: 76.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/5.016, allocations: 81.66 kB / 2.978 GB, free: 76.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/5.017, allocations: 0.874 MB / 2.979 GB, free: 75.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/5.017, allocations: 34.53 kB / 2.979 GB, free: 75.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.572e-06/5.017, allocations: 0 / 2.979 GB, free: 75.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0007193/5.017, allocations: 267.3 kB / 2.98 GB, free: 75.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/5.018, allocations: 59.41 kB / 2.98 GB, free: 74.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/5.018, allocations: 258.4 kB / 2.98 GB, free: 74.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/5.018, allocations: 25.7 kB / 2.98 GB, free: 74.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/5.018, allocations: 220.5 kB / 2.98 GB, free: 74.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/5.018, allocations: 74.81 kB / 2.98 GB, free: 74.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/5.018, allocations: 0 / 2.98 GB, free: 74.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.092e-05/5.018, allocations: 346.8 kB / 2.981 GB, free: 74.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/5.018, allocations: 56.47 kB / 2.981 GB, free: 73.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/5.018, allocations: 110 kB / 2.981 GB, free: 73.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/5.019, allocations: 120.8 kB / 2.981 GB, free: 73.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/5.019, allocations: 0 / 2.981 GB, free: 73.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004624/5.019, allocations: 274.4 kB / 2.981 GB, free: 73.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/5.019, allocations: 7.938 kB / 2.981 GB, free: 73.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/5.019, allocations: 4.031 kB / 2.981 GB, free: 73.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/5.019, allocations: 4 kB / 2.981 GB, free: 73.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/5.019, allocations: 55.91 kB / 2.981 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/5.019, allocations: 4 kB / 2.981 GB, free: 73.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/5.02, allocations: 31.77 kB / 2.981 GB, free: 73.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/5.02, allocations: 16 kB / 2.981 GB, free: 73.35 MB / 0.698 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 () * 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 6.771e-05/5.02, allocations: 112.9 kB / 2.981 GB, free: 73.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/5.02, allocations: 43.48 kB / 2.981 GB, free: 73.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/5.02, allocations: 266.7 kB / 2.982 GB, free: 72.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/5.02, allocations: 0 / 2.982 GB, free: 72.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/5.02, allocations: 0 / 2.982 GB, free: 72.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/5.02, allocations: 7.984 kB / 2.982 GB, free: 72.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/5.021, allocations: 0.7359 MB / 2.982 GB, free: 72.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/5.021, allocations: 0 / 2.982 GB, free: 72.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/5.022, allocations: 56.05 kB / 2.982 GB, free: 72.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/5.022, allocations: 8 kB / 2.982 GB, free: 72.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/5.022, allocations: 3.984 kB / 2.982 GB, free: 72.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/5.022, allocations: 4 kB / 2.982 GB, free: 72.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/5.022, allocations: 7.938 kB / 2.982 GB, free: 72.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/5.022, allocations: 0.534 MB / 2.983 GB, free: 71.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/5.022, allocations: 140.6 kB / 2.983 GB, free: 71.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/5.022, allocations: 4 kB / 2.983 GB, free: 71.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/5.023, allocations: 23.92 kB / 2.983 GB, free: 71.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/5.023, allocations: 23.86 kB / 2.983 GB, free: 71.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/5.023, allocations: 16 kB / 2.983 GB, free: 71.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00015/5.023, allocations: 208.6 kB / 2.983 GB, free: 71.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/5.023, allocations: 0 / 2.983 GB, free: 71.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006461/5.024, allocations: 191.8 kB / 2.984 GB, free: 70.82 MB / 0.698 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 () * 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.00159/5.025, allocations: 1.351 MB / 2.985 GB, free: 69.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000266/5.026, allocations: 164.4 kB / 2.985 GB, free: 69.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/5.026, allocations: 64 / 2.985 GB, free: 69.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/5.026, allocations: 95.86 kB / 2.985 GB, free: 69.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/5.026, allocations: 146.2 kB / 2.985 GB, free: 69.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/5.028, allocations: 0.6586 MB / 2.986 GB, free: 68.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/5.028, allocations: 0.8343 MB / 2.987 GB, free: 67.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002829/5.028, allocations: 71.22 kB / 2.987 GB, free: 67.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/5.028, allocations: 27.44 kB / 2.987 GB, free: 67.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/5.028, allocations: 4 kB / 2.987 GB, free: 67.38 MB / 0.698 GB Notification: Performance of Templates: time 0.01725/5.045, allocations: 12.29 MB / 2.999 GB, free: 55.18 MB / 0.698 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)