Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_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.0011/0.0011, 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.001139/0.001139, allocations: 192 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 295 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9602/0.9602, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 91.95 kB / 0.5954 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1417, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003318/0.1451, allocations: 2.071 MB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1467, allocations: 1.176 MB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.1468, allocations: 4 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1472, allocations: 112.2 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.139e-05/0.1473, allocations: 55.52 kB / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006998/0.148, allocations: 250.1 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.1483, allocations: 331.2 kB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1485, allocations: 95.03 kB / 0.6843 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.1486, allocations: 103.7 kB / 0.6844 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1488, allocations: 135.4 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.1488, allocations: 28 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.1491, allocations: 219.7 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.1493, allocations: 91.73 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.1494, allocations: 159.2 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.1499, allocations: 0.5376 MB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1499, allocations: 3.984 kB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1499, allocations: 0 / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.15, allocations: 0 / 0.6855 GB, free: 11.21 MB / 494.1 MB 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.001091/0.1511, allocations: 0.8087 MB / 0.6863 GB, free: 10.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1511, allocations: 12.03 kB / 0.6863 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.1512, allocations: 50.73 kB / 0.6864 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.1512, allocations: 36.47 kB / 0.6864 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1516, allocations: 316.4 kB / 0.6867 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1516, allocations: 12.66 kB / 0.6867 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.1517, allocations: 24.31 kB / 0.6867 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.1523, allocations: 291 kB / 0.687 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1523, allocations: 4 kB / 0.687 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.1523, allocations: 8 kB / 0.687 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1523, allocations: 4 kB / 0.687 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/0.153, allocations: 272.1 kB / 0.6873 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1541, allocations: 0.6757 MB / 0.6879 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.1547, allocations: 226.6 kB / 0.6882 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.1551, allocations: 192.7 kB / 0.6883 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1551, allocations: 7.938 kB / 0.6884 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1552, allocations: 38.55 kB / 0.6884 GB, free: 8.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.1552, allocations: 3.938 kB / 0.6884 GB, free: 8.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001497/0.1567, allocations: 0.6661 MB / 0.689 GB, free: 7.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.1568, allocations: 140.5 kB / 0.6892 GB, free: 7.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.1572, allocations: 376.5 kB / 0.6895 GB, free: 6.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1573, allocations: 29.7 kB / 0.6896 GB, free: 6.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.1574, allocations: 164.3 kB / 0.6897 GB, free: 6.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1575, allocations: 51.34 kB / 0.6898 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.1576, allocations: 41.7 kB / 0.6898 GB, free: 6.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1577, allocations: 346.8 kB / 0.6901 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.1582, allocations: 239.8 kB / 0.6904 GB, free: 5.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.1586, allocations: 239.8 kB / 0.6906 GB, free: 5.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008731/0.1595, allocations: 0.6812 MB / 0.6913 GB, free: 4.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1595, allocations: 0 / 0.6913 GB, free: 4.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001043/0.1606, allocations: 0.7317 MB / 0.692 GB, free: 4.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.1607, allocations: 182.2 kB / 0.6922 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1607, allocations: 0 / 0.6922 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1607, allocations: 4 kB / 0.6922 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1609, allocations: 27.97 kB / 0.6922 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1609, allocations: 3.938 kB / 0.6922 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1611, allocations: 43.75 kB / 0.6922 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.1612, allocations: 12 kB / 0.6922 GB, free: 3.883 MB / 494.1 MB 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.0002349/0.1614, allocations: 260.2 kB / 0.6925 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.1615, allocations: 31.62 kB / 0.6925 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.1615, allocations: 26.94 kB / 0.6925 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1615, allocations: 0 / 0.6925 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1616, allocations: 4 kB / 0.6925 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1616, allocations: 0 / 0.6925 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.1619, allocations: 353.2 kB / 0.6929 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1619, allocations: 0 / 0.6929 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.1621, allocations: 35.97 kB / 0.6929 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1621, allocations: 0 / 0.6929 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.1621, allocations: 8 kB / 0.6929 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1622, allocations: 4 kB / 0.6929 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1622, allocations: 7.875 kB / 0.6929 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.1631, allocations: 0.624 MB / 0.6935 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.1632, allocations: 104.8 kB / 0.6936 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1632, allocations: 4 kB / 0.6937 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1635, allocations: 31.95 kB / 0.6937 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.1636, allocations: 27.97 kB / 0.6937 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1636, allocations: 4 kB / 0.6937 GB, free: 2.246 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002696/0.1639, allocations: 279 kB / 0.694 GB, free: 1.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1639, allocations: 0 / 0.694 GB, free: 1.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000387/0.1643, allocations: 107.8 kB / 0.6941 GB, free: 1.867 MB / 494.1 MB 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.00135/0.1656, allocations: 1.217 MB / 0.6953 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1667, allocations: 0.8398 MB / 0.6961 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1667, allocations: 4 kB / 0.6961 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.1672, allocations: 374.1 kB / 0.6965 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1677, allocations: 83.03 kB / 0.6965 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.173, allocations: 4.411 MB / 0.7008 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1734, allocations: 0.7868 MB / 0.7016 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.374e-05/0.1735, allocations: 25.95 kB / 0.7016 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1736, allocations: 87.41 kB / 0.7017 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1736, allocations: 0 / 0.7017 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.1982, allocations: 8.681 MB / 0.7102 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.32, allocations: 16.16 kB / 0.7102 GB, free: 1.305 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)