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.005819/0.005819, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.001243/0.001243, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.226/1.226, allocations: 222.9 MB / 240.3 MB, free: 4.312 MB / 190.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.9049/0.9049, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 0.5955 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3423, allocations: 82.03 MB / 0.6756 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1663/0.5087, allocations: 173.9 MB / 0.8454 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003667/0.5124, allocations: 2.303 MB / 0.8477 GB, free: 5.648 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.5129, allocations: 19.81 kB / 0.8477 GB, free: 5.629 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008078/0.5138, allocations: 226.4 kB / 0.8479 GB, free: 5.406 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.516, allocations: 0.9332 MB / 0.8488 GB, free: 4.469 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.5179, allocations: 0.8248 MB / 0.8496 GB, free: 3.645 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.5192, allocations: 0.9695 MB / 0.8506 GB, free: 2.672 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.5198, allocations: 331 kB / 0.8509 GB, free: 2.344 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.5206, allocations: 454.2 kB / 0.8513 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.5211, allocations: 314.7 kB / 0.8516 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.5211, allocations: 32 kB / 0.8517 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.5227, allocations: 0.9937 MB / 0.8526 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.5229, allocations: 151.5 kB / 0.8528 GB, free: 424 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.5232, allocations: 238.8 kB / 0.853 GB, free: 184 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.5246, allocations: 0.9174 MB / 0.8539 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.5246, allocations: 0 / 0.8539 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5247, allocations: 0 / 0.8539 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.5247, allocations: 0 / 0.8539 GB, free: 15.26 MB / 0.6856 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.001267/0.5259, allocations: 0.8138 MB / 0.8547 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.526, allocations: 8.031 kB / 0.8547 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.5272, allocations: 183.1 kB / 0.8549 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.5279, allocations: 385.5 kB / 0.8552 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.5279, allocations: 24.66 kB / 0.8553 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.5279, allocations: 31.91 kB / 0.8553 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.5285, allocations: 377.1 kB / 0.8556 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.5286, allocations: 0 / 0.8556 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.5286, allocations: 16 kB / 0.8557 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.5286, allocations: 11.94 kB / 0.8557 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.5292, allocations: 262 kB / 0.8559 GB, free: 13.06 MB / 0.6856 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.001717/0.5309, allocations: 1.672 MB / 0.8576 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.5313, allocations: 210.5 kB / 0.8578 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.5315, allocations: 116.8 kB / 0.8579 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/0.5324, allocations: 0.8702 MB / 0.8587 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5324, allocations: 34.5 kB / 0.8588 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.382e-06/0.5324, allocations: 0 / 0.8588 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.0008505/0.5333, allocations: 359.9 kB / 0.8591 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.5333, allocations: 63.27 kB / 0.8592 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.5338, allocations: 421.9 kB / 0.8596 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.5338, allocations: 29.7 kB / 0.8596 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.534, allocations: 212.3 kB / 0.8598 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.534, allocations: 78.77 kB / 0.8599 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.5341, allocations: 53.69 kB / 0.8599 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5342, allocations: 354.7 kB / 0.8603 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.5344, allocations: 75.95 kB / 0.8603 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.5346, allocations: 132 kB / 0.8605 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.535, allocations: 203.3 kB / 0.8606 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.535, allocations: 4 kB / 0.8607 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005024/0.5355, allocations: 282.6 kB / 0.8609 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5356, allocations: 4 kB / 0.8609 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5356, allocations: 0 / 0.8609 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5356, allocations: 4 kB / 0.8609 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.5358, allocations: 55.91 kB / 0.861 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5358, allocations: 7.922 kB / 0.861 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.5361, allocations: 35.67 kB / 0.861 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.5361, allocations: 12.03 kB / 0.861 GB, free: 7.402 MB / 0.6856 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.0001476/0.5362, allocations: 161.8 kB / 0.8612 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.5363, allocations: 43.52 kB / 0.8612 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.5369, allocations: 277.3 kB / 0.8615 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5369, allocations: 8.078 kB / 0.8615 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5369, allocations: 3.938 kB / 0.8615 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.5369, allocations: 3.984 kB / 0.8615 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.5381, allocations: 0.8189 MB / 0.8623 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5381, allocations: 192 / 0.8623 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.5383, allocations: 51.97 kB / 0.8624 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5383, allocations: 4 kB / 0.8624 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.5384, allocations: 8 kB / 0.8624 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5384, allocations: 3.938 kB / 0.8624 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5384, allocations: 4 kB / 0.8624 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.5391, allocations: 0.5014 MB / 0.8629 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.5393, allocations: 152.5 kB / 0.863 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.5393, allocations: 4 kB / 0.863 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.5396, allocations: 23.97 kB / 0.863 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.5397, allocations: 15.98 kB / 0.8631 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5397, allocations: 11.94 kB / 0.8631 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002919/0.54, allocations: 303.1 kB / 0.8634 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.54, allocations: 0 / 0.8634 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004454/0.5404, allocations: 119.8 kB / 0.8635 GB, free: 4.77 MB / 0.6856 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.0004105/0.5409, allocations: 191.2 kB / 0.8637 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.5413, allocations: 213.6 kB / 0.8639 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5414, allocations: 4 kB / 0.8639 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.5416, allocations: 115.8 kB / 0.864 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.5427, allocations: 221.9 kB / 0.8642 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.5441, allocations: 0.8952 MB / 0.8651 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.5445, allocations: 0.8271 MB / 0.8659 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002671/0.5448, allocations: 83.34 kB / 0.8659 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.5449, allocations: 31.44 kB / 0.866 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of SimCode: time 2.91e-07/0.5449, allocations: 0 / 0.866 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of Templates: time 0.2912/0.8361, allocations: 8.112 MB / 0.8739 GB, free: 186.9 MB / 0.6856 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)