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.001547/0.001548, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001671/0.001671, allocations: 193.4 kB / 16.14 MB, free: 6.715 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002562/0.002562, allocations: 291 kB / 290.2 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.18/1.18, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003649/0.003649, allocations: 97.67 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1875, allocations: 89.15 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6178/0.8054, allocations: 171.6 MB / 0.8603 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004422/0.8098, allocations: 2.316 MB / 0.8626 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000527/0.8104, allocations: 15.62 kB / 0.8626 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.8113, allocations: 187.2 kB / 0.8628 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.8136, allocations: 0.881 MB / 0.8636 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.8159, allocations: 0.7479 MB / 0.8644 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.8176, allocations: 1.346 MB / 0.8657 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.8181, allocations: 290.6 kB / 0.866 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.8189, allocations: 412.7 kB / 0.8663 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.8194, allocations: 327.5 kB / 0.8667 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.8195, allocations: 19.78 kB / 0.8667 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.8217, allocations: 1.168 MB / 0.8678 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.8219, allocations: 153.6 kB / 0.868 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.8222, allocations: 218.5 kB / 0.8682 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.8237, allocations: 0.9513 MB / 0.8691 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8237, allocations: 0 / 0.8691 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8237, allocations: 0 / 0.8691 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.8238, allocations: 2.594 kB / 0.8691 GB, free: 4.977 MB / 0.5919 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.001385/0.8251, allocations: 0.804 MB / 0.8699 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8252, allocations: 10.81 kB / 0.8699 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.8265, allocations: 185.3 kB / 0.8701 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/0.8271, allocations: 374.5 kB / 0.8704 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.8271, allocations: 21.12 kB / 0.8705 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.8272, allocations: 32.53 kB / 0.8705 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.8278, allocations: 376 kB / 0.8708 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.8279, allocations: 0 / 0.8708 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.8279, allocations: 12.81 kB / 0.8709 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.828, allocations: 13.78 kB / 0.8709 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.8285, allocations: 265.8 kB / 0.8711 GB, free: 3.453 MB / 0.5919 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.002004/0.8305, allocations: 1.665 MB / 0.8728 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.8309, allocations: 214.6 kB / 0.873 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.8312, allocations: 110.8 kB / 0.8731 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.8324, allocations: 0.8693 MB / 0.8739 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.8324, allocations: 32.38 kB / 0.8739 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.8324, allocations: 0 / 0.8739 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009343/0.8334, allocations: 362.8 kB / 0.8743 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.8334, allocations: 53.22 kB / 0.8743 GB, free: 496 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.8339, allocations: 423.5 kB / 0.8747 GB, free: 236 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.8339, allocations: 32.11 kB / 0.8748 GB, free: 200 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.8341, allocations: 212.7 kB / 0.875 GB, free: 4 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.8342, allocations: 84.92 kB / 0.8751 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.8343, allocations: 49.77 kB / 0.8751 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.8345, allocations: 356.2 kB / 0.8754 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.8347, allocations: 83 kB / 0.8755 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.8349, allocations: 122.5 kB / 0.8756 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.8354, allocations: 216.2 kB / 0.8758 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.8354, allocations: 0 / 0.8758 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005537/0.8359, allocations: 280.5 kB / 0.8761 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.836, allocations: 4.906 kB / 0.8761 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.836, allocations: 2.375 kB / 0.8761 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.836, allocations: 4.875 kB / 0.8761 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.8363, allocations: 59.16 kB / 0.8762 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.8363, allocations: 2.812 kB / 0.8762 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.8366, allocations: 36.55 kB / 0.8762 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.8366, allocations: 17.92 kB / 0.8762 GB, free: 15.11 MB / 0.6075 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.0002013/0.8368, allocations: 164.3 kB / 0.8764 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.8369, allocations: 43.67 kB / 0.8764 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/0.8376, allocations: 280.3 kB / 0.8767 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.8376, allocations: 3.75 kB / 0.8767 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8376, allocations: 3.938 kB / 0.8767 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.8376, allocations: 6.109 kB / 0.8767 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.839, allocations: 0.8096 MB / 0.8775 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.839, allocations: 2.844 kB / 0.8775 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.8392, allocations: 48.23 kB / 0.8776 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.8392, allocations: 6.891 kB / 0.8776 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.8393, allocations: 11.5 kB / 0.8776 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8393, allocations: 8.625 kB / 0.8776 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.8393, allocations: 6.75 kB / 0.8776 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.8401, allocations: 0.4962 MB / 0.8781 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.8403, allocations: 144.7 kB / 0.8782 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.8404, allocations: 6.562 kB / 0.8782 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.8407, allocations: 28.53 kB / 0.8782 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.8408, allocations: 22.02 kB / 0.8783 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.8408, allocations: 11.36 kB / 0.8783 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003419/0.8411, allocations: 300.4 kB / 0.8786 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8412, allocations: 0 / 0.8786 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004733/0.8416, allocations: 116.8 kB / 0.8787 GB, free: 13.31 MB / 0.6075 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.0004825/0.8421, allocations: 195.1 kB / 0.8789 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005423/0.8427, allocations: 208.4 kB / 0.8791 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8427, allocations: 0 / 0.8791 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.8429, allocations: 115.7 kB / 0.8792 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.8441, allocations: 209.7 kB / 0.8794 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.846, allocations: 1.043 MB / 0.8804 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.8465, allocations: 0.8236 MB / 0.8812 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.8468, allocations: 83.33 kB / 0.8813 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.129e-05/0.8469, allocations: 35.44 kB / 0.8813 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.8469, allocations: 0 / 0.8813 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Templates: time 0.01652/0.8634, allocations: 7.684 MB / 0.8888 GB, free: 3.023 MB / 0.6075 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)