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.001067/0.001067, 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.001117/0.001117, allocations: 194.8 kB / 16.14 MB, free: 6.688 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.9636/0.9636, allocations: 143 MB / 433 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 64.09 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1698, allocations: 82.04 MB / 0.5936 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3916/0.5614, allocations: 171.6 MB / 0.7612 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003622/0.5651, allocations: 2.333 MB / 0.7635 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.5654, allocations: 7.938 kB / 0.7635 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006927/0.5662, allocations: 190.9 kB / 0.7637 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.5681, allocations: 0.8714 MB / 0.7645 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.57, allocations: 0.7545 MB / 0.7652 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.5714, allocations: 1.341 MB / 0.7666 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.5719, allocations: 290.2 kB / 0.7668 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.5725, allocations: 414.3 kB / 0.7672 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.5729, allocations: 326.6 kB / 0.7675 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.573, allocations: 20 kB / 0.7676 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.5749, allocations: 1.173 MB / 0.7687 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.5751, allocations: 147.5 kB / 0.7688 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.5753, allocations: 218.8 kB / 0.769 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.5767, allocations: 0.9737 MB / 0.77 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5767, allocations: 0 / 0.77 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5767, allocations: 0 / 0.77 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5767, allocations: 0 / 0.77 GB, free: 9.266 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.001209/0.5779, allocations: 0.8136 MB / 0.7708 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.578, allocations: 8.031 kB / 0.7708 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.5792, allocations: 179.2 kB / 0.771 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.5798, allocations: 377.4 kB / 0.7713 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.5798, allocations: 20.66 kB / 0.7714 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.5798, allocations: 32 kB / 0.7714 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.5805, allocations: 373.1 kB / 0.7717 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5805, allocations: 0 / 0.7717 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.5806, allocations: 12.5 kB / 0.7718 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.5806, allocations: 15.98 kB / 0.7718 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.5811, allocations: 265.9 kB / 0.772 GB, free: 7.086 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.001723/0.5828, allocations: 1.664 MB / 0.7736 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.5832, allocations: 207.5 kB / 0.7738 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.5835, allocations: 116.8 kB / 0.774 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.5845, allocations: 0.8717 MB / 0.7748 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.5845, allocations: 36.44 kB / 0.7748 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.5845, allocations: 0 / 0.7748 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.000916/0.5855, allocations: 355.6 kB / 0.7752 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5855, allocations: 67.28 kB / 0.7752 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.5859, allocations: 418 kB / 0.7756 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.586, allocations: 33.7 kB / 0.7757 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.5861, allocations: 212.3 kB / 0.7759 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.5862, allocations: 82.73 kB / 0.776 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.5863, allocations: 53.7 kB / 0.776 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5864, allocations: 350.7 kB / 0.7763 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.5866, allocations: 83.95 kB / 0.7764 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.5868, allocations: 119.4 kB / 0.7765 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.5872, allocations: 215.2 kB / 0.7767 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5872, allocations: 4.031 kB / 0.7767 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005122/0.5878, allocations: 278.1 kB / 0.777 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5878, allocations: 4 kB / 0.777 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5878, allocations: 7.984 kB / 0.777 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5878, allocations: 0 / 0.777 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.5881, allocations: 47.92 kB / 0.7771 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5881, allocations: 4 kB / 0.7771 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.5883, allocations: 43.69 kB / 0.7771 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.5884, allocations: 15.88 kB / 0.7771 GB, free: 1.441 MB / 0.5919 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.0001549/0.5885, allocations: 161.8 kB / 0.7773 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.5886, allocations: 39.53 kB / 0.7773 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005689/0.5892, allocations: 301.2 kB / 0.7776 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5892, allocations: 0 / 0.7776 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5892, allocations: 3.125 kB / 0.7776 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5892, allocations: 3.984 kB / 0.7776 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.5904, allocations: 0.8085 MB / 0.7784 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5904, allocations: 4 kB / 0.7784 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.5906, allocations: 39.92 kB / 0.7784 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.5906, allocations: 4 kB / 0.7784 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.5907, allocations: 8.078 kB / 0.7785 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.5907, allocations: 11.92 kB / 0.7785 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5907, allocations: 0 / 0.7785 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.5915, allocations: 0.5039 MB / 0.779 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.5916, allocations: 144.6 kB / 0.7791 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.5917, allocations: 4 kB / 0.7791 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.592, allocations: 27.91 kB / 0.7791 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.5921, allocations: 19.92 kB / 0.7791 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5921, allocations: 12 kB / 0.7792 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002975/0.5924, allocations: 303.1 kB / 0.7794 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5924, allocations: 0 / 0.7794 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000442/0.5928, allocations: 115.8 kB / 0.7796 GB, free: 14.8 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.0003809/0.5932, allocations: 198.3 kB / 0.7797 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.5937, allocations: 207.6 kB / 0.7799 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5937, allocations: 0 / 0.7799 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.5939, allocations: 115.9 kB / 0.7801 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5951, allocations: 210.8 kB / 0.7803 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.5965, allocations: 1.039 MB / 0.7813 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5969, allocations: 0.8236 MB / 0.7821 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000291/0.5972, allocations: 83.89 kB / 0.7822 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.5973, allocations: 31.44 kB / 0.7822 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.5973, allocations: 0 / 0.7822 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.01285/0.6101, allocations: 7.708 MB / 0.7897 GB, free: 4.531 MB / 0.6075 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)