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: "" <> 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.00717/0.00717, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001732/0.001732, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.8346/0.8346, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68.27 kB / 0.595 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 82.03 MB / 0.6752 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.4535/0.5816, allocations: 173.9 MB / 0.845 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.5852, allocations: 2.295 MB / 0.8472 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.5857, allocations: 18.28 kB / 0.8472 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.5864, allocations: 237.6 kB / 0.8474 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5884, allocations: 0.9691 MB / 0.8484 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.5903, allocations: 0.8408 MB / 0.8492 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.5914, allocations: 0.9613 MB / 0.8501 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.5919, allocations: 335.1 kB / 0.8505 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/0.5926, allocations: 469.7 kB / 0.8509 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.593, allocations: 312.7 kB / 0.8512 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.593, allocations: 31.94 kB / 0.8512 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.5946, allocations: 0.9978 MB / 0.8522 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.5948, allocations: 144.2 kB / 0.8524 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.595, allocations: 243.3 kB / 0.8526 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.5963, allocations: 0.9207 MB / 0.8535 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5963, allocations: 2.531 kB / 0.8535 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5964, allocations: 4 kB / 0.8535 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5964, allocations: 0 / 0.8535 GB, free: 7.426 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.00118/0.5975, allocations: 0.8276 MB / 0.8543 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5976, allocations: 12.03 kB / 0.8543 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/0.5977, allocations: 70.53 kB / 0.8544 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.5989, allocations: 182 kB / 0.8546 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.5995, allocations: 393.7 kB / 0.8549 GB, free: 6 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.5995, allocations: 20.66 kB / 0.855 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.5996, allocations: 32 kB / 0.855 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.6002, allocations: 377.1 kB / 0.8553 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6002, allocations: 0 / 0.8553 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.6003, allocations: 12 kB / 0.8554 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.6003, allocations: 15.94 kB / 0.8554 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.6008, allocations: 262 kB / 0.8556 GB, free: 5.273 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.001654/0.6024, allocations: 1.676 MB / 0.8573 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.6028, allocations: 210.9 kB / 0.8575 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.603, allocations: 112.8 kB / 0.8576 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009048/0.604, allocations: 0.8662 MB / 0.8584 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.604, allocations: 42.55 kB / 0.8584 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 1.704e-06/0.604, allocations: 0 / 0.8584 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.0008756/0.6049, allocations: 360.3 kB / 0.8588 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.6049, allocations: 59.27 kB / 0.8588 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.6054, allocations: 417.9 kB / 0.8592 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.6054, allocations: 33.7 kB / 0.8593 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.6055, allocations: 220.4 kB / 0.8595 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.6056, allocations: 87.22 kB / 0.8596 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.6057, allocations: 45.7 kB / 0.8596 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6058, allocations: 362.7 kB / 0.86 GB, free: 436 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.606, allocations: 71.95 kB / 0.86 GB, free: 364 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.6062, allocations: 132 kB / 0.8602 GB, free: 220 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.6066, allocations: 205.2 kB / 0.8604 GB, free: 4 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6066, allocations: 4 kB / 0.8604 GB, free: 0 / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000525/0.6071, allocations: 282.1 kB / 0.8606 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6072, allocations: 8.062 kB / 0.8606 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6072, allocations: 4.812 kB / 0.8606 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.6072, allocations: 4 kB / 0.8606 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.6074, allocations: 51.91 kB / 0.8607 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.6075, allocations: 0 / 0.8607 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.6077, allocations: 39.7 kB / 0.8607 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.6077, allocations: 13.88 kB / 0.8607 GB, free: 15.6 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.0001556/0.6079, allocations: 161.8 kB / 0.8609 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.608, allocations: 47.72 kB / 0.8609 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.6085, allocations: 278.8 kB / 0.8612 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6085, allocations: 4 kB / 0.8612 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.6086, allocations: 0 / 0.8612 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6086, allocations: 8.797 kB / 0.8612 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.6097, allocations: 0.8169 MB / 0.862 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6098, allocations: 4.031 kB / 0.862 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.61, allocations: 39.98 kB / 0.8621 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.61, allocations: 7.984 kB / 0.8621 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.61, allocations: 16.17 kB / 0.8621 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.61, allocations: 5.062 kB / 0.8621 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.61, allocations: 4 kB / 0.8621 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.6108, allocations: 0.5024 MB / 0.8626 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.611, allocations: 148.8 kB / 0.8627 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.611, allocations: 8 kB / 0.8627 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.6113, allocations: 15.98 kB / 0.8627 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.6114, allocations: 19.97 kB / 0.8628 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.6114, allocations: 12 kB / 0.8628 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002935/0.6117, allocations: 303.1 kB / 0.8631 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6117, allocations: 0 / 0.8631 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004454/0.6121, allocations: 115.8 kB / 0.8632 GB, free: 12.97 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.001258/0.6134, allocations: 1.145 MB / 0.8643 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.6139, allocations: 221.3 kB / 0.8645 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6139, allocations: 0 / 0.8645 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.6141, allocations: 107.8 kB / 0.8646 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.6152, allocations: 232.3 kB / 0.8648 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.6197, allocations: 3.684 MB / 0.8684 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.62, allocations: 0.8233 MB / 0.8692 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.6203, allocations: 87.34 kB / 0.8693 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.6205, allocations: 143.4 kB / 0.8695 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.6205, allocations: 0 / 0.8695 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.6518, allocations: 12.13 MB / 0.8813 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.609, allocations: 15.95 kB / 0.8813 GB, free: 10.45 MB / 0.6544 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)