Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.005496/0.005496, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.001266/0.001266, allocations: 196.7 kB / 16.68 MB, free: 5.48 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.001/1.001, allocations: 143.3 MB / 433.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3373, allocations: 82.03 MB / 0.6754 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002596/0.3399, allocations: 1.566 MB / 0.677 GB, free: 15.57 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3414, allocations: 0.9102 MB / 0.6778 GB, free: 14.85 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.3415, allocations: 1.156 kB / 0.6778 GB, free: 14.85 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.3415, allocations: 11.86 kB / 0.6779 GB, free: 14.84 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.3418, allocations: 27.03 kB / 0.6779 GB, free: 14.81 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.3421, allocations: 140 kB / 0.678 GB, free: 14.72 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3423, allocations: 75.14 kB / 0.6781 GB, free: 14.68 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.3423, allocations: 14.62 kB / 0.6781 GB, free: 14.67 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.3424, allocations: 40.72 kB / 0.6781 GB, free: 14.64 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3426, allocations: 37.06 kB / 0.6782 GB, free: 14.62 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3426, allocations: 4.25 kB / 0.6782 GB, free: 14.62 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.343, allocations: 285.4 kB / 0.6785 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.343, allocations: 10.08 kB / 0.6785 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.3431, allocations: 32.23 kB / 0.6785 GB, free: 14.43 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3433, allocations: 145.8 kB / 0.6786 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3434, allocations: 5.25 kB / 0.6786 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3434, allocations: 3.938 kB / 0.6786 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3434, allocations: 0 / 0.6786 GB, free: 14.33 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005943/0.344, allocations: 419.1 kB / 0.679 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.344, allocations: 9.094 kB / 0.6791 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.3441, allocations: 35.91 kB / 0.6791 GB, free: 13.87 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3442, allocations: 15.53 kB / 0.6791 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3444, allocations: 183.8 kB / 0.6793 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3444, allocations: 2.25 kB / 0.6793 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3444, allocations: 10.84 kB / 0.6793 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3446, allocations: 65.75 kB / 0.6794 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3446, allocations: 1.125 kB / 0.6794 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3446, allocations: 4 kB / 0.6794 GB, free: 13.58 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3447, allocations: 0.9688 kB / 0.6794 GB, free: 13.58 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.3448, allocations: 39.78 kB / 0.6794 GB, free: 13.57 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.3453, allocations: 304.1 kB / 0.6797 GB, free: 13.25 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3454, allocations: 56.44 kB / 0.6797 GB, free: 13.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.3455, allocations: 26.25 kB / 0.6798 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3456, allocations: 1.188 kB / 0.6798 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3456, allocations: 31.59 kB / 0.6798 GB, free: 13.15 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3456, allocations: 4 kB / 0.6798 GB, free: 13.14 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0003755/0.346, allocations: 114.8 kB / 0.6799 GB, free: 13.07 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3461, allocations: 56.72 kB / 0.68 GB, free: 13 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3462, allocations: 128.3 kB / 0.6801 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3462, allocations: 25.7 kB / 0.6801 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.3463, allocations: 99.25 kB / 0.6802 GB, free: 12.76 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3463, allocations: 14.34 kB / 0.6802 GB, free: 12.75 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3463, allocations: 22.03 kB / 0.6802 GB, free: 12.73 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3465, allocations: 325.3 kB / 0.6805 GB, free: 12.4 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.3466, allocations: 20.98 kB / 0.6806 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.3467, allocations: 20.73 kB / 0.6806 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3468, allocations: 55.33 kB / 0.6806 GB, free: 12.36 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3468, allocations: 0 / 0.6806 GB, free: 12.36 MB / 0.5138 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002419/0.3471, allocations: 98.14 kB / 0.6807 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3471, allocations: 8.438 kB / 0.6807 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3471, allocations: 5.422 kB / 0.6807 GB, free: 12.28 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3472, allocations: 3.984 kB / 0.6808 GB, free: 12.28 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3473, allocations: 14.61 kB / 0.6808 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3473, allocations: 1 kB / 0.6808 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.3474, allocations: 15.27 kB / 0.6808 GB, free: 12.26 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3474, allocations: 2.094 kB / 0.6808 GB, free: 12.26 MB / 0.5138 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 (6): * Single equations (assignments): 6 * 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 9.121e-05/0.3475, allocations: 124 kB / 0.6809 GB, free: 12.13 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.3475, allocations: 8.328 kB / 0.6809 GB, free: 12.13 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.3478, allocations: 99.34 kB / 0.681 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3478, allocations: 1.062 kB / 0.681 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3478, allocations: 5.016 kB / 0.681 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3478, allocations: 0 / 0.681 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.3481, allocations: 183.2 kB / 0.6812 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3481, allocations: 0 / 0.6812 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.3482, allocations: 19.05 kB / 0.6812 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3482, allocations: 0 / 0.6812 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3482, allocations: 1.031 kB / 0.6812 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3482, allocations: 0.9688 kB / 0.6812 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3482, allocations: 0 / 0.6812 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3485, allocations: 188.4 kB / 0.6814 GB, free: 11.66 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3485, allocations: 87.69 kB / 0.6815 GB, free: 11.56 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3486, allocations: 1.156 kB / 0.6815 GB, free: 11.56 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.3487, allocations: 10.67 kB / 0.6815 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3487, allocations: 6.625 kB / 0.6815 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3487, allocations: 2.594 kB / 0.6815 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 6.984e-05/0.3488, allocations: 101.4 kB / 0.6816 GB, free: 11.46 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3488, allocations: 0 / 0.6816 GB, free: 11.46 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002509/0.3491, allocations: 26.83 kB / 0.6816 GB, free: 11.46 MB / 0.5138 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 (6): * Single equations (assignments): 6 * 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.0006513/0.3497, allocations: 0.732 MB / 0.6823 GB, free: 10.76 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.35, allocations: 62.03 kB / 0.6824 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.35, allocations: 0 / 0.6824 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 9.774e-05/0.3501, allocations: 37.84 kB / 0.6824 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3503, allocations: 11.53 kB / 0.6824 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3521, allocations: 1.471 MB / 0.6839 GB, free: 9.363 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3524, allocations: 0.6895 MB / 0.6845 GB, free: 8.66 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 4.726e-05/0.3525, allocations: 8.266 kB / 0.6845 GB, free: 8.656 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.3525, allocations: 18.34 kB / 0.6846 GB, free: 8.645 MB / 0.5138 GB Notification: Performance of SimCode: time 2.81e-07/0.3525, allocations: 0 / 0.6846 GB, free: 8.645 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.375, allocations: 2.328 MB / 0.6868 GB, free: 7.457 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.226, allocations: 10.36 kB / 0.6868 GB, free: 7.453 MB / 0.5138 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)