Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.005118/0.005118, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001112/0.001112, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.9318/0.9318, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.5951 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.341, allocations: 82.03 MB / 0.6752 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001836/0.3428, allocations: 1.262 MB / 0.6764 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.3431, allocations: 121.5 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.3432, allocations: 1.031 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.3432, allocations: 0 / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.3433, allocations: 9.047 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.3434, allocations: 34.14 kB / 0.6766 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.3435, allocations: 18.75 kB / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.3435, allocations: 5.359 kB / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.3436, allocations: 3.844 kB / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.3436, allocations: 14.39 kB / 0.6766 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3436, allocations: 1.219 kB / 0.6766 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3438, allocations: 52.19 kB / 0.6766 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.3438, allocations: 0 / 0.6766 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.3438, allocations: 6.719 kB / 0.6767 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3439, allocations: 41.84 kB / 0.6767 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3439, allocations: 0 / 0.6767 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3439, allocations: 5.125 kB / 0.6767 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3439, allocations: 0 / 0.6767 GB, free: 15.84 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003181/0.3443, allocations: 330.3 kB / 0.677 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3443, allocations: 10.28 kB / 0.677 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.3443, allocations: 34.73 kB / 0.6771 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.3444, allocations: 2.312 kB / 0.6771 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3445, allocations: 169.8 kB / 0.6772 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3445, allocations: 384 / 0.6772 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.3445, allocations: 9.453 kB / 0.6772 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.251e-05/0.3446, allocations: 32.45 kB / 0.6773 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3446, allocations: 0.9062 kB / 0.6773 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3446, allocations: 3.984 kB / 0.6773 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3446, allocations: 5.656 kB / 0.6773 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.3446, allocations: 2.406 kB / 0.6773 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.3448, allocations: 149.7 kB / 0.6774 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.3448, allocations: 31.81 kB / 0.6774 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.3449, allocations: 15.33 kB / 0.6775 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006169/0.3455, allocations: 0.5997 MB / 0.678 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3455, allocations: 35.73 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3455, allocations: 0 / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001233/0.3456, allocations: 46.94 kB / 0.6781 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3457, allocations: 52.69 kB / 0.6782 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.3458, allocations: 105.4 kB / 0.6783 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.3458, allocations: 26.83 kB / 0.6783 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.3458, allocations: 80.14 kB / 0.6784 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3458, allocations: 9.047 kB / 0.6784 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.3459, allocations: 17.31 kB / 0.6784 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.346, allocations: 314.8 kB / 0.6787 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.346, allocations: 2.219 kB / 0.6787 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-06/0.346, allocations: 2.25 kB / 0.6787 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.346, allocations: 26.12 kB / 0.6787 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.346, allocations: 0 / 0.6787 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.723e-05/0.3461, allocations: 39.08 kB / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.3461, allocations: 4.844 kB / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3461, allocations: 0 / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3461, allocations: 1.125 kB / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.3462, allocations: 2.594 kB / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3462, allocations: 1.125 kB / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.3462, allocations: 0 / 0.6788 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3462, allocations: 13.09 kB / 0.6788 GB, free: 13.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.391e-05/0.3463, allocations: 115.1 kB / 0.6789 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.3463, allocations: 5.156 kB / 0.6789 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.455e-05/0.3464, allocations: 49.09 kB / 0.679 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3464, allocations: 1.375 kB / 0.679 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3464, allocations: 0 / 0.679 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3464, allocations: 0 / 0.679 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.83e-05/0.3465, allocations: 149.9 kB / 0.6791 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3465, allocations: 8.016 kB / 0.6791 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.3465, allocations: 2.812 kB / 0.6791 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3465, allocations: 0 / 0.6791 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.3465, allocations: 5.312 kB / 0.6791 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3466, allocations: 0 / 0.6791 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3466, allocations: 1.031 kB / 0.6791 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.102e-05/0.3466, allocations: 74.5 kB / 0.6792 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.3467, allocations: 82.31 kB / 0.6793 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.3467, allocations: 4.031 kB / 0.6793 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.3467, allocations: 1.125 kB / 0.6793 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-06/0.3467, allocations: 1.312 kB / 0.6793 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3467, allocations: 0 / 0.6793 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.3468, allocations: 78.62 kB / 0.6793 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3468, allocations: 0 / 0.6793 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001956/0.347, allocations: 19.67 kB / 0.6794 GB, free: 12.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0003273/0.3473, allocations: 0.6159 MB / 0.68 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.3474, allocations: 11.44 kB / 0.68 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3474, allocations: 0 / 0.68 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.3474, allocations: 4.25 kB / 0.68 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.3476, allocations: 11.7 kB / 0.68 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.3484, allocations: 1.098 MB / 0.6811 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.3486, allocations: 0.6754 MB / 0.6817 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.447e-05/0.3486, allocations: 5.766 kB / 0.6817 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.3486, allocations: 8.844 kB / 0.6817 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3487, allocations: 0 / 0.6817 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.3643, allocations: 1.438 MB / 0.6831 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.31, allocations: 16.53 kB / 0.6832 GB, free: 9.586 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw_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_BaseClasses_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)