Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.001212/0.001212, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.391 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 1.021/1.021, allocations: 143.1 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 71.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1504, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004377/0.1548, allocations: 2.085 MB / 0.5965 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1571, allocations: 1.158 MB / 0.5976 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1573, allocations: 7.938 kB / 0.5976 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.1578, allocations: 111.4 kB / 0.5977 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1579, allocations: 51.56 kB / 0.5977 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1589, allocations: 255.8 kB / 0.598 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.1594, allocations: 315.2 kB / 0.5983 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.1596, allocations: 98.97 kB / 0.5984 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1598, allocations: 111.6 kB / 0.5985 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.16, allocations: 119.5 kB / 0.5986 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.1601, allocations: 32 kB / 0.5986 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.1605, allocations: 227.7 kB / 0.5989 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1607, allocations: 91.73 kB / 0.5989 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1609, allocations: 151.2 kB / 0.5991 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1619, allocations: 0.5686 MB / 0.5996 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1619, allocations: 0 / 0.5996 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.162, allocations: 3.938 kB / 0.5996 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.162, allocations: 0 / 0.5996 GB, free: 4.082 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001428/0.1634, allocations: 0.8077 MB / 0.6004 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1635, allocations: 8.625 kB / 0.6004 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.1636, allocations: 54.73 kB / 0.6005 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.1637, allocations: 32.56 kB / 0.6005 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.1641, allocations: 320.4 kB / 0.6008 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1642, allocations: 12.66 kB / 0.6008 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.1642, allocations: 20.38 kB / 0.6009 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.165, allocations: 299 kB / 0.6011 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1651, allocations: 0 / 0.6011 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.1651, allocations: 8 kB / 0.6012 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1651, allocations: 4 kB / 0.6012 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000929/0.1661, allocations: 276.6 kB / 0.6014 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1675, allocations: 0.6719 MB / 0.6021 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.1682, allocations: 226.6 kB / 0.6023 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.1688, allocations: 196.7 kB / 0.6025 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1688, allocations: 0 / 0.6025 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1688, allocations: 34.55 kB / 0.6025 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1688, allocations: 0 / 0.6025 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.002151/0.171, allocations: 0.6762 MB / 0.6032 GB, free: 248 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1711, allocations: 136.5 kB / 0.6033 GB, free: 80 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2581/0.4292, allocations: 381.4 kB / 0.6037 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.4293, allocations: 27.86 kB / 0.6037 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.4294, allocations: 166.2 kB / 0.6039 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.4295, allocations: 46.14 kB / 0.6039 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.4296, allocations: 45.41 kB / 0.6039 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.4296, allocations: 345.2 kB / 0.6043 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.4301, allocations: 237.1 kB / 0.6045 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.4304, allocations: 240.8 kB / 0.6047 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.4312, allocations: 0.6824 MB / 0.6054 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4312, allocations: 4.812 kB / 0.6054 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009279/0.4322, allocations: 0.7265 MB / 0.6061 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.4322, allocations: 182.1 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4323, allocations: 2.812 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4323, allocations: 3.75 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.4325, allocations: 32.69 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4325, allocations: 1.062 kB / 0.6063 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.4327, allocations: 44.97 kB / 0.6064 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.4327, allocations: 9.625 kB / 0.6064 GB, free: 43.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0001567/0.4329, allocations: 262.1 kB / 0.6066 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.4329, allocations: 31.62 kB / 0.6067 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.433, allocations: 31.61 kB / 0.6067 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.433, allocations: 1.125 kB / 0.6067 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.433, allocations: 3.625 kB / 0.6067 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.433, allocations: 2.781 kB / 0.6067 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.4333, allocations: 341.2 kB / 0.607 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4333, allocations: 0 / 0.607 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.4335, allocations: 33.3 kB / 0.607 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4335, allocations: 2.562 kB / 0.6071 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.4335, allocations: 7.047 kB / 0.6071 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4335, allocations: 3 kB / 0.6071 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4335, allocations: 2.5 kB / 0.6071 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.4344, allocations: 0.6172 MB / 0.6077 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.4345, allocations: 117.1 kB / 0.6078 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.4345, allocations: 11.5 kB / 0.6078 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4347, allocations: 25.56 kB / 0.6078 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4349, allocations: 30.06 kB / 0.6078 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.4349, allocations: 6.562 kB / 0.6078 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002365/0.4351, allocations: 271.8 kB / 0.6081 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4351, allocations: 0 / 0.6081 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004231/0.4356, allocations: 111.7 kB / 0.6082 GB, free: 42.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.001136/0.4367, allocations: 1.204 MB / 0.6094 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000944/0.4377, allocations: 0.8502 MB / 0.6102 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4377, allocations: 0 / 0.6102 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.4381, allocations: 377.7 kB / 0.6106 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.4385, allocations: 69.94 kB / 0.6106 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.4431, allocations: 4.415 MB / 0.615 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4433, allocations: 0.7933 MB / 0.6157 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.686e-05/0.4434, allocations: 21.89 kB / 0.6158 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4435, allocations: 90.23 kB / 0.6158 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.4435, allocations: 0 / 0.6158 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.4665, allocations: 8.703 MB / 0.6243 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.996, allocations: 19.16 kB / 0.6244 GB, free: 37.08 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_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_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)