Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.00555/0.00555, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001318/0.001318, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.041/1.041, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 67.89 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3501, allocations: 82.03 MB / 0.6754 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002839/0.353, allocations: 2.119 MB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3548, allocations: 1.038 MB / 0.6785 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3549, allocations: 3.219 kB / 0.6785 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.355, allocations: 23.67 kB / 0.6785 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.3553, allocations: 86.25 kB / 0.6786 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.3557, allocations: 192.5 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3561, allocations: 293.3 kB / 0.6791 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3562, allocations: 66.47 kB / 0.6791 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3564, allocations: 107.5 kB / 0.6792 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3566, allocations: 138.5 kB / 0.6794 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.3567, allocations: 21.34 kB / 0.6794 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.3571, allocations: 298.9 kB / 0.6797 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.3572, allocations: 47.02 kB / 0.6797 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.3573, allocations: 124.8 kB / 0.6798 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.3578, allocations: 345.1 kB / 0.6802 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3578, allocations: 0 / 0.6802 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3578, allocations: 0 / 0.6802 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3578, allocations: 1.062 kB / 0.6802 GB, free: 13.38 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001133/0.359, allocations: 0.6385 MB / 0.6808 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.359, allocations: 10.03 kB / 0.6808 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.3591, allocations: 47.3 kB / 0.6809 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.3593, allocations: 43.8 kB / 0.6809 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.3597, allocations: 290 kB / 0.6812 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3597, allocations: 10.5 kB / 0.6812 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.3598, allocations: 15 kB / 0.6812 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.3603, allocations: 244.4 kB / 0.6814 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3604, allocations: 1.125 kB / 0.6814 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.3604, allocations: 5.094 kB / 0.6814 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3604, allocations: 4.469 kB / 0.6814 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.3611, allocations: 198.5 kB / 0.6816 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3623, allocations: 0.9333 MB / 0.6825 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008157/0.3632, allocations: 244.6 kB / 0.6828 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.3635, allocations: 109.6 kB / 0.6829 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3636, allocations: 6.328 kB / 0.6829 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3636, allocations: 35.78 kB / 0.6829 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.3636, allocations: 0 / 0.6829 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001266/0.3649, allocations: 342.8 kB / 0.6832 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.365, allocations: 80.02 kB / 0.6833 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.3653, allocations: 269.3 kB / 0.6836 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3653, allocations: 27.08 kB / 0.6836 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3654, allocations: 166 kB / 0.6838 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.3655, allocations: 56.98 kB / 0.6838 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.3656, allocations: 40.83 kB / 0.6839 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3657, allocations: 340.2 kB / 0.6842 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.3661, allocations: 93.41 kB / 0.6843 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.3665, allocations: 136.5 kB / 0.6844 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.3672, allocations: 249.5 kB / 0.6846 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3672, allocations: 0 / 0.6846 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008869/0.3681, allocations: 300.1 kB / 0.6849 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3681, allocations: 5.688 kB / 0.6849 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3681, allocations: 1.406 kB / 0.6849 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3681, allocations: 3.781 kB / 0.6849 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.3684, allocations: 58.25 kB / 0.685 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3684, allocations: 6.469 kB / 0.685 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.3687, allocations: 45.31 kB / 0.685 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.3687, allocations: 10.94 kB / 0.6851 GB, free: 9.465 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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 prepare postOptimizeDAE: time 0.0001311/0.3689, allocations: 130.7 kB / 0.6852 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.369, allocations: 28.39 kB / 0.6852 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008858/0.3699, allocations: 287.1 kB / 0.6855 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3699, allocations: 3.062 kB / 0.6855 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3699, allocations: 0 / 0.6855 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3699, allocations: 1.562 kB / 0.6855 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.3703, allocations: 298 kB / 0.6858 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3703, allocations: 4 kB / 0.6858 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.3706, allocations: 58.53 kB / 0.6858 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3706, allocations: 1.5 kB / 0.6858 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3707, allocations: 9.156 kB / 0.6858 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3707, allocations: 5.266 kB / 0.6858 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3707, allocations: 5.125 kB / 0.6858 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.3716, allocations: 446.1 kB / 0.6863 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.3717, allocations: 112.2 kB / 0.6864 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3717, allocations: 1.125 kB / 0.6864 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.372, allocations: 30.41 kB / 0.6864 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.3721, allocations: 19.25 kB / 0.6864 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3721, allocations: 4.312 kB / 0.6864 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00019/0.3723, allocations: 190.8 kB / 0.6866 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3723, allocations: 0 / 0.6866 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003704/0.3727, allocations: 54.38 kB / 0.6867 GB, free: 8.223 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001295/0.374, allocations: 0.9964 MB / 0.6876 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007894/0.3748, allocations: 222.1 kB / 0.6878 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3748, allocations: 4.312 kB / 0.6879 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.3752, allocations: 121.5 kB / 0.688 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.3757, allocations: 76.86 kB / 0.688 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.38, allocations: 2.702 MB / 0.6907 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3804, allocations: 0.7497 MB / 0.6914 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.3806, allocations: 25.7 kB / 0.6914 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.3807, allocations: 89.59 kB / 0.6915 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.3807, allocations: 0 / 0.6915 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.41, allocations: 6.586 MB / 0.698 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.529, allocations: 9.406 kB / 0.698 GB, free: 14.73 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)