Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001308/0.001308, allocations: 105 kB / 16.41 MB, free: 6.465 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.0011/0.0011, allocations: 187 kB / 17.34 MB, free: 5.719 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8451/0.8451, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 64.27 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1535, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5242/0.6778, allocations: 173.9 MB / 0.8461 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007377/0.6852, allocations: 2.306 MB / 0.8484 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007577/0.6861, allocations: 13.78 kB / 0.8484 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.6874, allocations: 230.8 kB / 0.8486 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.6914, allocations: 0.9805 MB / 0.8495 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.6951, allocations: 0.8353 MB / 0.8504 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.6973, allocations: 0.9646 MB / 0.8513 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.6982, allocations: 329.2 kB / 0.8516 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.6995, allocations: 472.1 kB / 0.8521 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006617/0.7001, allocations: 316.2 kB / 0.8524 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.7003, allocations: 33.38 kB / 0.8524 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.7036, allocations: 0.9969 MB / 0.8534 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.704, allocations: 157 kB / 0.8535 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.7045, allocations: 231.3 kB / 0.8537 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.7069, allocations: 0.9278 MB / 0.8547 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7069, allocations: 0 / 0.8547 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7069, allocations: 0 / 0.8547 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.7069, allocations: 0 / 0.8547 GB, free: 7.207 MB / 0.6231 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.002272/0.7092, allocations: 0.8061 MB / 0.8554 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.7093, allocations: 8.031 kB / 0.8554 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.7118, allocations: 183.1 kB / 0.8556 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.7129, allocations: 389.5 kB / 0.856 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.7129, allocations: 24.66 kB / 0.856 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.713, allocations: 32 kB / 0.856 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.7142, allocations: 365.1 kB / 0.8564 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.7142, allocations: 3.984 kB / 0.8564 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.7143, allocations: 16 kB / 0.8564 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.7143, allocations: 12 kB / 0.8564 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.7153, allocations: 265.9 kB / 0.8567 GB, free: 5.016 MB / 0.6231 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.003312/0.7187, allocations: 1.667 MB / 0.8583 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.7194, allocations: 210.5 kB / 0.8585 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.7198, allocations: 113.4 kB / 0.8586 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.7215, allocations: 0.8702 MB / 0.8595 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.7215, allocations: 34.5 kB / 0.8595 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 3.497e-06/0.7216, allocations: 0 / 0.8595 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001697/0.7233, allocations: 362.3 kB / 0.8598 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.7233, allocations: 55.27 kB / 0.8599 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/0.7242, allocations: 422 kB / 0.8603 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.7243, allocations: 29.7 kB / 0.8603 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.7246, allocations: 216.2 kB / 0.8605 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.7247, allocations: 86.73 kB / 0.8606 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.7249, allocations: 53.7 kB / 0.8607 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.7251, allocations: 354.7 kB / 0.861 GB, free: 188 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.7255, allocations: 79.94 kB / 0.8611 GB, free: 108 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.7259, allocations: 127.7 kB / 0.8612 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.7267, allocations: 213.2 kB / 0.8614 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7267, allocations: 0 / 0.8614 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001045/0.7278, allocations: 285.9 kB / 0.8617 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.7278, allocations: 4 kB / 0.8617 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.7279, allocations: 0 / 0.8617 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.7279, allocations: 4 kB / 0.8617 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.7284, allocations: 56 kB / 0.8617 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.7284, allocations: 3.938 kB / 0.8617 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.7288, allocations: 39.53 kB / 0.8618 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.7289, allocations: 11.94 kB / 0.8618 GB, free: 15.35 MB / 0.6387 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.0002369/0.7291, allocations: 157.8 kB / 0.8619 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.7293, allocations: 43.53 kB / 0.862 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.7303, allocations: 282.5 kB / 0.8623 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.7304, allocations: 4 kB / 0.8623 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7304, allocations: 0 / 0.8623 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.7304, allocations: 3.938 kB / 0.8623 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.7326, allocations: 0.8139 MB / 0.8631 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.7327, allocations: 3.938 kB / 0.8631 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.7331, allocations: 51.91 kB / 0.8631 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.7332, allocations: 0 / 0.8631 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.7332, allocations: 8.875 kB / 0.8631 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.7332, allocations: 4 kB / 0.8631 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7332, allocations: 4 kB / 0.8631 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.7347, allocations: 0.5136 MB / 0.8636 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.735, allocations: 148.5 kB / 0.8638 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.7352, allocations: 4 kB / 0.8638 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.7357, allocations: 15.98 kB / 0.8638 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.7358, allocations: 16.61 kB / 0.8638 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.7359, allocations: 11.98 kB / 0.8638 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006126/0.7365, allocations: 303.1 kB / 0.8641 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7365, allocations: 0 / 0.8641 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008713/0.7374, allocations: 123.8 kB / 0.8642 GB, free: 12.72 MB / 0.6387 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.0006265/0.7381, allocations: 190.4 kB / 0.8644 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009103/0.739, allocations: 206.7 kB / 0.8646 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.739, allocations: 4 kB / 0.8646 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.7395, allocations: 116.2 kB / 0.8647 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.7417, allocations: 231.5 kB / 0.8649 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.7445, allocations: 0.9249 MB / 0.8658 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.7451, allocations: 0.8233 MB / 0.8666 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.7453, allocations: 39.42 kB / 0.8667 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.7453, allocations: 0 / 0.8667 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.01845/0.7638, allocations: 6.666 MB / 0.8732 GB, free: 3.543 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)