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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00482/0.00482, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001277/0.001277, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.025/1.025, allocations: 143.3 MB / 433.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.88 kB / 0.5953 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.352, allocations: 82.03 MB / 0.6754 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1946/0.5466, allocations: 173.9 MB / 0.8452 GB, free: 7.645 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004254/0.5509, allocations: 2.295 MB / 0.8474 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.5515, allocations: 15.94 kB / 0.8475 GB, free: 5.328 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.5522, allocations: 242.3 kB / 0.8477 GB, free: 5.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.5546, allocations: 0.9294 MB / 0.8486 GB, free: 4.156 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.5567, allocations: 0.8215 MB / 0.8494 GB, free: 3.336 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.558, allocations: 0.9624 MB / 0.8503 GB, free: 2.367 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.5585, allocations: 335.7 kB / 0.8507 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.5593, allocations: 458.3 kB / 0.8511 GB, free: 1.586 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.5597, allocations: 306.7 kB / 0.8514 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/0.5598, allocations: 32 kB / 0.8514 GB, free: 1.254 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.5616, allocations: 0.9976 MB / 0.8524 GB, free: 260 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.5618, allocations: 151.5 kB / 0.8525 GB, free: 108 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.5621, allocations: 231 kB / 0.8528 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.5635, allocations: 0.9352 MB / 0.8537 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5635, allocations: 0 / 0.8537 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.547e-06/0.5635, allocations: 3.984 kB / 0.8537 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.5635, allocations: 4 kB / 0.8537 GB, free: 14.94 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.001284/0.5648, allocations: 0.8246 MB / 0.8545 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5649, allocations: 12.03 kB / 0.8545 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.5649, allocations: 58.55 kB / 0.8546 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.5662, allocations: 187.5 kB / 0.8547 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.5668, allocations: 397.7 kB / 0.8551 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5669, allocations: 24.66 kB / 0.8551 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.5669, allocations: 31.98 kB / 0.8552 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.5676, allocations: 373.1 kB / 0.8555 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5676, allocations: 4 kB / 0.8555 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.5677, allocations: 15.94 kB / 0.8555 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.5677, allocations: 8 kB / 0.8555 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.5683, allocations: 262 kB / 0.8558 GB, free: 12.64 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.001952/0.5702, allocations: 1.672 MB / 0.8574 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.5707, allocations: 214.4 kB / 0.8576 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.5709, allocations: 115.3 kB / 0.8577 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.572, allocations: 0.87 MB / 0.8586 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.5721, allocations: 38.56 kB / 0.8586 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.5721, allocations: 4 kB / 0.8586 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.0009452/0.5731, allocations: 353.1 kB / 0.859 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.5731, allocations: 55.27 kB / 0.859 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.5736, allocations: 422 kB / 0.8594 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.5736, allocations: 29.7 kB / 0.8595 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.5738, allocations: 220.4 kB / 0.8597 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.5739, allocations: 91.2 kB / 0.8598 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.574, allocations: 53.64 kB / 0.8598 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5742, allocations: 350.7 kB / 0.8601 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.5744, allocations: 79.95 kB / 0.8602 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.5747, allocations: 128.3 kB / 0.8603 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.5751, allocations: 206.5 kB / 0.8605 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5751, allocations: 3.938 kB / 0.8605 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005649/0.5757, allocations: 277.2 kB / 0.8608 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5757, allocations: 12.06 kB / 0.8608 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5757, allocations: 0 / 0.8608 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5758, allocations: 4 kB / 0.8608 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.576, allocations: 55.91 kB / 0.8609 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.576, allocations: 3.938 kB / 0.8609 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.5762, allocations: 35.77 kB / 0.8609 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.5763, allocations: 8 kB / 0.8609 GB, free: 6.977 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.0001754/0.5765, allocations: 161.8 kB / 0.8611 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.5765, allocations: 47.72 kB / 0.8611 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/0.5772, allocations: 282.6 kB / 0.8614 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5772, allocations: 4 kB / 0.8614 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5772, allocations: 7.922 kB / 0.8614 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5772, allocations: 0 / 0.8614 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5786, allocations: 0.8087 MB / 0.8622 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5786, allocations: 4 kB / 0.8622 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.5789, allocations: 51.91 kB / 0.8622 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5789, allocations: 0 / 0.8622 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.5789, allocations: 8.188 kB / 0.8622 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5789, allocations: 8 kB / 0.8623 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5789, allocations: 4.031 kB / 0.8623 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.5798, allocations: 0.5142 MB / 0.8628 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.5799, allocations: 144.7 kB / 0.8629 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.58, allocations: 7.984 kB / 0.8629 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.5803, allocations: 15.98 kB / 0.8629 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.5804, allocations: 27.86 kB / 0.8629 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.5804, allocations: 8 kB / 0.863 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003441/0.5807, allocations: 303.1 kB / 0.8632 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5807, allocations: 0 / 0.8632 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004427/0.5812, allocations: 115.8 kB / 0.8634 GB, free: 4.34 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.001467/0.5827, allocations: 1.135 MB / 0.8645 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.5832, allocations: 221.7 kB / 0.8647 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5832, allocations: 4 kB / 0.8647 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.5835, allocations: 111.8 kB / 0.8648 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5846, allocations: 220 kB / 0.865 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2686/0.8533, allocations: 3.685 MB / 0.8686 GB, free: 187 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.8536, allocations: 0.8246 MB / 0.8694 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003355/0.8539, allocations: 90.17 kB / 0.8695 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.8541, allocations: 136.6 kB / 0.8696 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of SimCode: time 9.41e-07/0.8541, allocations: 0 / 0.8696 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.8904, allocations: 12.15 MB / 0.8815 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/9.405, allocations: 7.625 kB / 0.8815 GB, free: 182.1 MB / 0.6856 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)