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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 192.8 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002267/0.002267, allocations: 290.6 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.0016, allocations: 91.55 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1725, allocations: 86.98 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5316/0.7042, allocations: 171.6 MB / 0.847 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.7083, allocations: 2.317 MB / 0.8492 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.709, allocations: 10.97 kB / 0.8492 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008104/0.7099, allocations: 185.8 kB / 0.8494 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.7125, allocations: 0.8772 MB / 0.8503 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.715, allocations: 0.7486 MB / 0.851 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.7166, allocations: 1.346 MB / 0.8523 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00045/0.7171, allocations: 284 kB / 0.8526 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007266/0.7178, allocations: 419.7 kB / 0.853 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.7182, allocations: 327.8 kB / 0.8533 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.7183, allocations: 24.3 kB / 0.8533 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.7204, allocations: 1.169 MB / 0.8545 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.7206, allocations: 140 kB / 0.8546 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.7208, allocations: 228.3 kB / 0.8548 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.7223, allocations: 0.9524 MB / 0.8558 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7223, allocations: 0 / 0.8558 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7223, allocations: 0 / 0.8558 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.7223, allocations: 0 / 0.8558 GB, free: 9.562 MB / 0.5762 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.001236/0.7236, allocations: 0.8034 MB / 0.8565 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7236, allocations: 10.16 kB / 0.8565 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.7248, allocations: 181.3 kB / 0.8567 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.7254, allocations: 375.6 kB / 0.8571 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.7254, allocations: 21.22 kB / 0.8571 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.7254, allocations: 32.44 kB / 0.8571 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.726, allocations: 368 kB / 0.8575 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.726, allocations: 2.906 kB / 0.8575 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.7261, allocations: 10.88 kB / 0.8575 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.7261, allocations: 17.77 kB / 0.8575 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.7266, allocations: 264 kB / 0.8578 GB, free: 8.051 MB / 0.5762 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.001686/0.7283, allocations: 1.672 MB / 0.8594 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.7287, allocations: 211.6 kB / 0.8596 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.7289, allocations: 116.8 kB / 0.8597 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.7299, allocations: 0.8701 MB / 0.8606 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.73, allocations: 34.56 kB / 0.8606 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.73, allocations: 0 / 0.8606 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.000867/0.7308, allocations: 357.7 kB / 0.8609 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.7309, allocations: 58.31 kB / 0.861 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.7313, allocations: 424.6 kB / 0.8614 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.7314, allocations: 29.7 kB / 0.8614 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.7315, allocations: 211.2 kB / 0.8616 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.7316, allocations: 84.62 kB / 0.8617 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.7317, allocations: 50.2 kB / 0.8618 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7318, allocations: 352.6 kB / 0.8621 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.732, allocations: 84.44 kB / 0.8622 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.7322, allocations: 120.1 kB / 0.8623 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.7325, allocations: 217.6 kB / 0.8625 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7326, allocations: 0.875 kB / 0.8625 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004777/0.733, allocations: 282.6 kB / 0.8628 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7331, allocations: 6.062 kB / 0.8628 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7331, allocations: 0 / 0.8628 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7331, allocations: 2.188 kB / 0.8628 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.7333, allocations: 52.47 kB / 0.8628 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7334, allocations: 6.656 kB / 0.8628 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.7336, allocations: 43.83 kB / 0.8629 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.7336, allocations: 16.16 kB / 0.8629 GB, free: 3.691 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.7338, allocations: 165.3 kB / 0.863 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.7339, allocations: 39.28 kB / 0.8631 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.7344, allocations: 284.4 kB / 0.8633 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7345, allocations: 6.75 kB / 0.8634 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7345, allocations: 6.078 kB / 0.8634 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7345, allocations: 0 / 0.8634 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.7356, allocations: 0.8125 MB / 0.8642 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.7356, allocations: 3.625 kB / 0.8642 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.7359, allocations: 55.03 kB / 0.8642 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7359, allocations: 2.781 kB / 0.8642 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.7359, allocations: 8.828 kB / 0.8642 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7359, allocations: 5.969 kB / 0.8642 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7359, allocations: 2.625 kB / 0.8642 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007315/0.7366, allocations: 0.5065 MB / 0.8647 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.7368, allocations: 144.7 kB / 0.8649 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.7369, allocations: 6.734 kB / 0.8649 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.7371, allocations: 20.27 kB / 0.8649 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.7372, allocations: 22.03 kB / 0.8649 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.7372, allocations: 10.84 kB / 0.8649 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002795/0.7375, allocations: 302.4 kB / 0.8652 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7375, allocations: 2.375 kB / 0.8652 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004491/0.738, allocations: 113 kB / 0.8653 GB, free: 1.938 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004352/0.7384, allocations: 191.7 kB / 0.8655 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.7389, allocations: 210.3 kB / 0.8657 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.7389, allocations: 0 / 0.8657 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.7391, allocations: 113.6 kB / 0.8658 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.7402, allocations: 214.1 kB / 0.866 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7416, allocations: 1.03 MB / 0.867 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.742, allocations: 0.826 MB / 0.8678 GB, free: 44 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.7423, allocations: 85.75 kB / 0.8679 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.383e-05/0.7424, allocations: 32.28 kB / 0.8679 GB, free: 16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.7424, allocations: 0 / 0.8679 GB, free: 16 MB / 0.5919 GB Notification: Performance of Templates: time 0.01281/0.7552, allocations: 7.695 MB / 0.8755 GB, free: 12.24 MB / 0.5919 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)