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-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.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.00518/0.00518, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001344/0.001344, allocations: 191 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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 0.9526/0.9526, allocations: 143.3 MB / 433.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 60.69 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1513, allocations: 82.04 MB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003595/0.1549, allocations: 2.085 MB / 0.6775 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.157, allocations: 1.177 MB / 0.6786 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.1571, allocations: 4 kB / 0.6786 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.1576, allocations: 115.3 kB / 0.6787 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1577, allocations: 47.59 kB / 0.6788 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.1585, allocations: 247.8 kB / 0.679 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.159, allocations: 331.2 kB / 0.6793 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1592, allocations: 90.98 kB / 0.6794 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1593, allocations: 107.6 kB / 0.6795 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1595, allocations: 127.5 kB / 0.6796 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.1596, allocations: 35.94 kB / 0.6797 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.16, allocations: 227.7 kB / 0.6799 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1601, allocations: 91.73 kB / 0.68 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1603, allocations: 155.2 kB / 0.6801 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.161, allocations: 0.5722 MB / 0.6807 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.161, allocations: 7.875 kB / 0.6807 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.161, allocations: 0 / 0.6807 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1611, allocations: 4 kB / 0.6807 GB, free: 5.176 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001318/0.1624, allocations: 0.8122 MB / 0.6815 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1624, allocations: 16.03 kB / 0.6815 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.1625, allocations: 46.73 kB / 0.6815 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.1626, allocations: 36.75 kB / 0.6816 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.163, allocations: 320.6 kB / 0.6819 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.163, allocations: 12.66 kB / 0.6819 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1631, allocations: 20.38 kB / 0.6819 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.1637, allocations: 291 kB / 0.6822 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1638, allocations: 4 kB / 0.6822 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1638, allocations: 8 kB / 0.6822 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.1638, allocations: 8 kB / 0.6822 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.1645, allocations: 268.4 kB / 0.6825 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1656, allocations: 0.6833 MB / 0.6831 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.1662, allocations: 222.6 kB / 0.6834 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.1666, allocations: 196.8 kB / 0.6835 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1666, allocations: 4 kB / 0.6835 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1667, allocations: 38.55 kB / 0.6836 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 4.609e-06/0.1667, allocations: 3.984 kB / 0.6836 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.001452/0.1681, allocations: 0.6663 MB / 0.6842 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.1682, allocations: 136.5 kB / 0.6844 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.1687, allocations: 380.5 kB / 0.6847 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1687, allocations: 37.7 kB / 0.6848 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1688, allocations: 168.3 kB / 0.6849 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.1689, allocations: 51.62 kB / 0.685 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.169, allocations: 45.7 kB / 0.685 GB, free: 472 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1692, allocations: 342.8 kB / 0.6853 GB, free: 120 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.1697, allocations: 235.9 kB / 0.6856 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.1701, allocations: 239.9 kB / 0.6858 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1712, allocations: 0.6787 MB / 0.6865 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1712, allocations: 0 / 0.6865 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001173/0.1724, allocations: 0.7415 MB / 0.6872 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.1725, allocations: 178.2 kB / 0.6874 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1725, allocations: 0 / 0.6874 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1725, allocations: 4 kB / 0.6874 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1727, allocations: 31.91 kB / 0.6874 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1727, allocations: 4 kB / 0.6874 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.173, allocations: 47.75 kB / 0.6874 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.173, allocations: 8 kB / 0.6874 GB, free: 13.82 MB / 0.5294 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.0002383/0.1732, allocations: 258.8 kB / 0.6877 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.1733, allocations: 35.75 kB / 0.6877 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.1734, allocations: 30.94 kB / 0.6878 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1734, allocations: 0 / 0.6878 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1734, allocations: 8 kB / 0.6878 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1734, allocations: 0 / 0.6878 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.1738, allocations: 345.2 kB / 0.6881 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1738, allocations: 0 / 0.6881 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1739, allocations: 31.91 kB / 0.6881 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.174, allocations: 0 / 0.6881 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.174, allocations: 4 kB / 0.6881 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.174, allocations: 4 kB / 0.6881 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.174, allocations: 0 / 0.6881 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.175, allocations: 0.6239 MB / 0.6887 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.1751, allocations: 112.8 kB / 0.6888 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.1752, allocations: 8 kB / 0.6889 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.1754, allocations: 31.95 kB / 0.6889 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1755, allocations: 27.98 kB / 0.6889 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.1756, allocations: 11.98 kB / 0.6889 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002979/0.1759, allocations: 271 kB / 0.6892 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1759, allocations: 3.938 kB / 0.6892 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004028/0.1763, allocations: 103.9 kB / 0.6893 GB, free: 11.81 MB / 0.5294 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.001552/0.1778, allocations: 1.217 MB / 0.6905 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.1791, allocations: 0.8438 MB / 0.6913 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1791, allocations: 0 / 0.6913 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.1797, allocations: 374 kB / 0.6917 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.1801, allocations: 69.89 kB / 0.6917 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.1865, allocations: 4.429 MB / 0.696 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1869, allocations: 0.7792 MB / 0.6968 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.1871, allocations: 25.95 kB / 0.6968 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.1872, allocations: 95.39 kB / 0.6969 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of SimCode: time 2.474e-06/0.1872, allocations: 0 / 0.6969 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.2193, allocations: 8.759 MB / 0.7055 GB, free: 11.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.742, allocations: 7.938 kB / 0.7055 GB, free: 11.18 MB / 0.545 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)