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.004884/0.004884, allocations: 103.4 kB / 15.73 MB, free: 6.445 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.001119/0.001119, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.9601/0.9601, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 55.91 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.418, allocations: 82.03 MB / 0.6752 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001939/0.42, allocations: 1.258 MB / 0.6764 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.4203, allocations: 123.2 kB / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.4203, allocations: 0 / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.4204, allocations: 3.938 kB / 0.6765 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.4205, allocations: 1.188 kB / 0.6765 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.4207, allocations: 47.92 kB / 0.6766 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.4207, allocations: 10.19 kB / 0.6766 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.4208, allocations: 1.219 kB / 0.6766 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.4208, allocations: 10.88 kB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.4209, allocations: 6.625 kB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.4209, allocations: 1.188 kB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.421, allocations: 56.66 kB / 0.6766 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.4211, allocations: 0 / 0.6766 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.4211, allocations: 10.31 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.4212, allocations: 38.31 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4212, allocations: 5.125 kB / 0.6767 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4212, allocations: 0 / 0.6767 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4212, allocations: 0 / 0.6767 GB, free: 15.92 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.0003999/0.4216, allocations: 328.1 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4217, allocations: 9.062 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.4217, allocations: 31.75 kB / 0.677 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.4218, allocations: 5.875 kB / 0.6771 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.4219, allocations: 169.7 kB / 0.6772 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.422, allocations: 384 / 0.6772 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.422, allocations: 13.12 kB / 0.6772 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.4221, allocations: 33.52 kB / 0.6773 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4221, allocations: 0 / 0.6773 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4221, allocations: 0 / 0.6773 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4221, allocations: 1.188 kB / 0.6773 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.4221, allocations: 11.83 kB / 0.6773 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.4223, allocations: 144.2 kB / 0.6774 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.4224, allocations: 32.25 kB / 0.6774 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.4224, allocations: 19.42 kB / 0.6775 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.4231, allocations: 0.6039 MB / 0.678 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4232, allocations: 32.03 kB / 0.6781 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4232, allocations: 0 / 0.6781 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001264/0.4233, allocations: 39.06 kB / 0.6781 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4234, allocations: 52.88 kB / 0.6782 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.4234, allocations: 105.3 kB / 0.6783 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.4235, allocations: 26.8 kB / 0.6783 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.4235, allocations: 80.14 kB / 0.6784 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.4235, allocations: 9.016 kB / 0.6784 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.4236, allocations: 15.97 kB / 0.6784 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4237, allocations: 316.2 kB / 0.6787 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.4237, allocations: 6.5 kB / 0.6787 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.4237, allocations: 1.344 kB / 0.6787 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.4237, allocations: 18.98 kB / 0.6787 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4237, allocations: 0 / 0.6787 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.005e-05/0.4238, allocations: 45.69 kB / 0.6788 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.4238, allocations: 5.594 kB / 0.6788 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4238, allocations: 0 / 0.6788 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.4239, allocations: 1.219 kB / 0.6788 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.4239, allocations: 6.625 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4239, allocations: 1.469 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.4239, allocations: 7.969 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.424, allocations: 1.406 kB / 0.6788 GB, free: 13.57 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 6.069e-05/0.424, allocations: 107 kB / 0.6789 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.424, allocations: 9.109 kB / 0.6789 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.4241, allocations: 41.05 kB / 0.6789 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.4241, allocations: 0 / 0.6789 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4242, allocations: 1.125 kB / 0.6789 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4242, allocations: 3.984 kB / 0.6789 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.4243, allocations: 156.9 kB / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4243, allocations: 4.031 kB / 0.6791 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.4243, allocations: 3.719 kB / 0.6791 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4243, allocations: 3.984 kB / 0.6791 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4243, allocations: 5.219 kB / 0.6791 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4243, allocations: 0 / 0.6791 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4243, allocations: 1.188 kB / 0.6791 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.674e-05/0.4244, allocations: 66.17 kB / 0.6792 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.4245, allocations: 86.31 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.4245, allocations: 0 / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.4245, allocations: 5.219 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.4245, allocations: 1.062 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.4245, allocations: 1.062 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.4246, allocations: 77.59 kB / 0.6793 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4246, allocations: 0 / 0.6793 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001941/0.4248, allocations: 20.12 kB / 0.6794 GB, free: 12.93 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.0004022/0.4252, allocations: 0.6231 MB / 0.68 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.4253, allocations: 6.875 kB / 0.68 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4253, allocations: 1.062 kB / 0.68 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.4253, allocations: 7.188 kB / 0.68 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.4255, allocations: 8.641 kB / 0.68 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.4264, allocations: 1.095 MB / 0.6811 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.4267, allocations: 0.6756 MB / 0.6817 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.4267, allocations: 2.781 kB / 0.6817 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.4267, allocations: 12.8 kB / 0.6817 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4267, allocations: 3.938 kB / 0.6817 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.4431, allocations: 1.453 MB / 0.6832 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.85, allocations: 5.25 kB / 0.6832 GB, free: 9.676 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)