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.005586/0.005586, allocations: 100.4 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.001312/0.001312, allocations: 185.9 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.8487/0.8487, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.41 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 82.04 MB / 0.6752 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003668/0.1637, allocations: 2.078 MB / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1657, allocations: 1.173 MB / 0.6784 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.166, allocations: 4 kB / 0.6784 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.1664, allocations: 119.3 kB / 0.6785 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.1666, allocations: 47.58 kB / 0.6785 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.1674, allocations: 266.9 kB / 0.6788 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.1678, allocations: 315.2 kB / 0.6791 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.168, allocations: 98.97 kB / 0.6792 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1682, allocations: 103.7 kB / 0.6793 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1684, allocations: 131.4 kB / 0.6794 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1684, allocations: 32 kB / 0.6794 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.1688, allocations: 227.7 kB / 0.6796 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1689, allocations: 91.69 kB / 0.6797 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.1691, allocations: 159.2 kB / 0.6799 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000679/0.1698, allocations: 0.5644 MB / 0.6804 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1698, allocations: 4 kB / 0.6804 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1698, allocations: 3.938 kB / 0.6804 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.1698, allocations: 0 / 0.6804 GB, free: 5.414 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.001308/0.1712, allocations: 0.8278 MB / 0.6813 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1712, allocations: 11.97 kB / 0.6813 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.1713, allocations: 50.73 kB / 0.6813 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.1714, allocations: 32.75 kB / 0.6813 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1718, allocations: 320.6 kB / 0.6816 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1718, allocations: 12.66 kB / 0.6817 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1718, allocations: 16.38 kB / 0.6817 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.1725, allocations: 299 kB / 0.682 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1725, allocations: 0 / 0.682 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.1725, allocations: 8 kB / 0.682 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1725, allocations: 0 / 0.682 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.1732, allocations: 276.3 kB / 0.6822 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009836/0.1742, allocations: 0.6755 MB / 0.6829 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.1747, allocations: 230.6 kB / 0.6831 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.1751, allocations: 192.8 kB / 0.6833 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1751, allocations: 3.938 kB / 0.6833 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1752, allocations: 30.56 kB / 0.6833 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.1752, allocations: 0 / 0.6833 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.001331/0.1765, allocations: 0.6701 MB / 0.684 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1766, allocations: 144.5 kB / 0.6841 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.177, allocations: 380.5 kB / 0.6845 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1771, allocations: 29.7 kB / 0.6845 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1772, allocations: 172.3 kB / 0.6847 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.1773, allocations: 43.64 kB / 0.6847 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.1774, allocations: 45.7 kB / 0.6848 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1775, allocations: 346.7 kB / 0.6851 GB, free: 364 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.178, allocations: 235.9 kB / 0.6853 GB, free: 128 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.1784, allocations: 240.7 kB / 0.6855 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.1794, allocations: 0.6826 MB / 0.6862 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1794, allocations: 0 / 0.6862 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001124/0.1805, allocations: 0.7377 MB / 0.6869 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.1806, allocations: 186.2 kB / 0.6871 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1806, allocations: 0 / 0.6871 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1807, allocations: 0 / 0.6871 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1808, allocations: 31.97 kB / 0.6871 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1809, allocations: 3.984 kB / 0.6871 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.1811, allocations: 51.73 kB / 0.6872 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.1811, allocations: 8 kB / 0.6872 GB, free: 14.05 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.0002114/0.1813, allocations: 258.8 kB / 0.6875 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.1814, allocations: 35.8 kB / 0.6875 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.1815, allocations: 30.88 kB / 0.6875 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1815, allocations: 11.98 kB / 0.6875 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1815, allocations: 0 / 0.6875 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1815, allocations: 3.938 kB / 0.6875 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.1819, allocations: 341.3 kB / 0.6879 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1819, allocations: 3.984 kB / 0.6879 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.182, allocations: 31.97 kB / 0.6879 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.182, allocations: 4 kB / 0.6879 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1821, allocations: 4 kB / 0.6879 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1821, allocations: 0 / 0.6879 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1821, allocations: 4 kB / 0.6879 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.183, allocations: 0.6134 MB / 0.6885 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.1831, allocations: 124.7 kB / 0.6886 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.1832, allocations: 4 kB / 0.6886 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.1834, allocations: 31.97 kB / 0.6887 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.1835, allocations: 23.97 kB / 0.6887 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1835, allocations: 4 kB / 0.6887 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002843/0.1838, allocations: 279 kB / 0.6889 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1838, allocations: 0 / 0.6889 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004226/0.1842, allocations: 103.9 kB / 0.689 GB, free: 12.04 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.001459/0.1857, allocations: 1.212 MB / 0.6902 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.1869, allocations: 0.8438 MB / 0.6911 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1869, allocations: 0 / 0.6911 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.1874, allocations: 374.3 kB / 0.6914 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.1878, allocations: 77.48 kB / 0.6915 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.1935, allocations: 4.426 MB / 0.6958 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1939, allocations: 0.7831 MB / 0.6966 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.931e-05/0.194, allocations: 25.94 kB / 0.6966 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.1941, allocations: 91.41 kB / 0.6967 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.1941, allocations: 0 / 0.6967 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.2191, allocations: 8.751 MB / 0.7052 GB, free: 11.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.186, allocations: 20.53 kB / 0.7052 GB, free: 11.4 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)