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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002824/0.002824, allocations: 271.2 kB / 290.6 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9884/0.9884, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 95.62 kB / 0.5952 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1982, allocations: 86.98 MB / 0.6802 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6298/0.828, allocations: 173.8 MB / 0.8499 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00618/0.8343, allocations: 2.304 MB / 0.8521 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008231/0.8351, allocations: 13.62 kB / 0.8522 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.8362, allocations: 240.5 kB / 0.8524 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.8397, allocations: 0.9281 MB / 0.8533 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.843, allocations: 0.8122 MB / 0.8541 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.8448, allocations: 0.9651 MB / 0.855 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.8457, allocations: 341.2 kB / 0.8553 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.847, allocations: 454.6 kB / 0.8558 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008254/0.8479, allocations: 306.8 kB / 0.8561 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.848, allocations: 33.19 kB / 0.8561 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.851, allocations: 0.9853 MB / 0.8571 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.8513, allocations: 154.4 kB / 0.8572 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005278/0.8518, allocations: 240.8 kB / 0.8574 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.8541, allocations: 0.8916 MB / 0.8583 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.8541, allocations: 4 kB / 0.8583 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8541, allocations: 3.938 kB / 0.8583 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.8542, allocations: 0 / 0.8583 GB, free: 7.688 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.002002/0.8562, allocations: 0.8088 MB / 0.8591 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.8562, allocations: 11.72 kB / 0.8591 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.8582, allocations: 176.3 kB / 0.8593 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/0.8591, allocations: 375.6 kB / 0.8597 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.8591, allocations: 29.31 kB / 0.8597 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.8592, allocations: 28.31 kB / 0.8597 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.8598, allocations: 368.2 kB / 0.8601 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.8598, allocations: 0 / 0.8601 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.8599, allocations: 18.55 kB / 0.8601 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.8599, allocations: 13.61 kB / 0.8601 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.8604, allocations: 264.6 kB / 0.8603 GB, free: 6.168 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.002492/0.8629, allocations: 1.677 MB / 0.862 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.8634, allocations: 210.6 kB / 0.8622 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.8637, allocations: 120.3 kB / 0.8623 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.8651, allocations: 0.8773 MB / 0.8632 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.8652, allocations: 33.03 kB / 0.8632 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/0.8652, allocations: 0 / 0.8632 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001242/0.8664, allocations: 351.9 kB / 0.8635 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.8665, allocations: 63.69 kB / 0.8636 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.8672, allocations: 419 kB / 0.864 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.8672, allocations: 31.92 kB / 0.864 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.8674, allocations: 212 kB / 0.8642 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.8675, allocations: 85.22 kB / 0.8643 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.8677, allocations: 49.86 kB / 0.8643 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.8679, allocations: 352.8 kB / 0.8647 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.8681, allocations: 78.08 kB / 0.8648 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.8684, allocations: 123.5 kB / 0.8649 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.869, allocations: 209.5 kB / 0.8651 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.869, allocations: 0 / 0.8651 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007824/0.8698, allocations: 280.9 kB / 0.8653 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8698, allocations: 7.312 kB / 0.8653 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8698, allocations: 2.797 kB / 0.8653 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.8699, allocations: 10.45 kB / 0.8654 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.8702, allocations: 55.59 kB / 0.8654 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.8702, allocations: 2.812 kB / 0.8654 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.8706, allocations: 31.36 kB / 0.8654 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.8706, allocations: 15.78 kB / 0.8655 GB, free: 1.82 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.0002608/0.8709, allocations: 165.6 kB / 0.8656 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.8711, allocations: 46.25 kB / 0.8657 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008207/0.8719, allocations: 282.3 kB / 0.8659 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8719, allocations: 6.078 kB / 0.8659 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8719, allocations: 0 / 0.8659 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.8719, allocations: 2.25 kB / 0.8659 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.8738, allocations: 0.8161 MB / 0.8667 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.8738, allocations: 6.75 kB / 0.8667 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.8741, allocations: 51.16 kB / 0.8668 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.8742, allocations: 2.125 kB / 0.8668 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.8742, allocations: 4.719 kB / 0.8668 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.8742, allocations: 6.469 kB / 0.8668 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8742, allocations: 2.844 kB / 0.8668 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.8754, allocations: 0.4957 MB / 0.8673 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.8757, allocations: 146.8 kB / 0.8674 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.8758, allocations: 14.8 kB / 0.8674 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.8763, allocations: 21.02 kB / 0.8675 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.8764, allocations: 13.27 kB / 0.8675 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.8764, allocations: 10.69 kB / 0.8675 GB, free: 280 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005086/0.8769, allocations: 300.6 kB / 0.8678 GB, free: 92 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8769, allocations: 0 / 0.8678 GB, free: 92 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000748/0.8777, allocations: 116.8 kB / 0.8679 GB, free: 68 kB / 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.000634/0.8783, allocations: 201.2 kB / 0.8681 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007826/0.8791, allocations: 220.4 kB / 0.8683 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.8792, allocations: 1.969 kB / 0.8683 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.8795, allocations: 111.3 kB / 0.8684 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.8812, allocations: 222.8 kB / 0.8686 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.8834, allocations: 0.8967 MB / 0.8695 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.884, allocations: 0.824 MB / 0.8703 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.8845, allocations: 92.47 kB / 0.8704 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.8846, allocations: 40.75 kB / 0.8704 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.8847, allocations: 0 / 0.8704 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.0223/0.907, allocations: 8.052 MB / 0.8783 GB, free: 10.29 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)