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.00174/0.00174, allocations: 108 kB / 15.61 MB, free: 152 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.00221/0.00221, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002264/0.002264, allocations: 283.2 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003384/0.003384, allocations: 96.84 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1489, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003103/0.1521, allocations: 2.082 MB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1537, allocations: 1.173 MB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.1538, allocations: 4 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1541, allocations: 111.3 kB / 0.6836 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.27e-05/0.1543, allocations: 47.58 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.1549, allocations: 257.2 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.1552, allocations: 327.2 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1554, allocations: 95.03 kB / 0.6843 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.1555, allocations: 103.7 kB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1556, allocations: 127.5 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.1557, allocations: 32 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.156, allocations: 223.7 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.1561, allocations: 95.72 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1563, allocations: 155.1 kB / 0.685 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.1568, allocations: 0.5414 MB / 0.6855 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1568, allocations: 0 / 0.6855 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1568, allocations: 0 / 0.6855 GB, free: 11.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1568, allocations: 3.984 kB / 0.6855 GB, free: 11.24 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.001025/0.1578, allocations: 0.8087 MB / 0.6863 GB, free: 10.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1579, allocations: 8.031 kB / 0.6863 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.1579, allocations: 50.73 kB / 0.6864 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.158, allocations: 40.47 kB / 0.6864 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1584, allocations: 320.3 kB / 0.6867 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1584, allocations: 12.66 kB / 0.6867 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1584, allocations: 16.38 kB / 0.6867 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.159, allocations: 299 kB / 0.687 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.159, allocations: 3.938 kB / 0.687 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1591, allocations: 8 kB / 0.687 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1591, allocations: 4 kB / 0.687 GB, free: 9.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.1597, allocations: 272.1 kB / 0.6873 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.1606, allocations: 0.6758 MB / 0.6879 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.1612, allocations: 226.6 kB / 0.6882 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.1616, allocations: 192.7 kB / 0.6883 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1616, allocations: 7.984 kB / 0.6884 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1616, allocations: 30.56 kB / 0.6884 GB, free: 8.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1616, allocations: 0 / 0.6884 GB, free: 8.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001328/0.1629, allocations: 0.6765 MB / 0.689 GB, free: 7.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.163, allocations: 136.5 kB / 0.6892 GB, free: 7.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.1634, allocations: 376.5 kB / 0.6895 GB, free: 6.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1634, allocations: 29.7 kB / 0.6896 GB, free: 6.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1636, allocations: 168.3 kB / 0.6897 GB, free: 6.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.1636, allocations: 43.34 kB / 0.6898 GB, free: 6.605 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.1637, allocations: 53.7 kB / 0.6898 GB, free: 6.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1638, allocations: 342.8 kB / 0.6901 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.1643, allocations: 239.8 kB / 0.6904 GB, free: 5.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.1648, allocations: 237.5 kB / 0.6906 GB, free: 5.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.1657, allocations: 0.6812 MB / 0.6913 GB, free: 5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1657, allocations: 0 / 0.6913 GB, free: 5 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001092/0.1668, allocations: 0.7317 MB / 0.692 GB, free: 4.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.1669, allocations: 186.2 kB / 0.6922 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1669, allocations: 0 / 0.6922 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.167, allocations: 0 / 0.6922 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1671, allocations: 27.97 kB / 0.6922 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1672, allocations: 4 kB / 0.6922 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1674, allocations: 47.75 kB / 0.6922 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.1674, allocations: 4 kB / 0.6922 GB, free: 3.926 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.000211/0.1676, allocations: 268.1 kB / 0.6925 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.1677, allocations: 27.62 kB / 0.6925 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.1677, allocations: 30.94 kB / 0.6925 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1678, allocations: 0 / 0.6925 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1678, allocations: 0 / 0.6925 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1678, allocations: 0 / 0.6925 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.1681, allocations: 357.2 kB / 0.6929 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1681, allocations: 4 kB / 0.6929 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1683, allocations: 35.91 kB / 0.6929 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1683, allocations: 0 / 0.6929 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.1683, allocations: 4 kB / 0.6929 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1683, allocations: 3.938 kB / 0.6929 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1683, allocations: 4 kB / 0.6929 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.1693, allocations: 0.6288 MB / 0.6936 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.1694, allocations: 104.8 kB / 0.6937 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.1694, allocations: 4 kB / 0.6937 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1697, allocations: 31.95 kB / 0.6937 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1698, allocations: 31.97 kB / 0.6937 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1698, allocations: 4 kB / 0.6937 GB, free: 2.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1701, allocations: 271 kB / 0.694 GB, free: 2.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1701, allocations: 0 / 0.694 GB, free: 2.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.1705, allocations: 107.9 kB / 0.6941 GB, free: 1.902 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.001378/0.1719, allocations: 1.219 MB / 0.6953 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.173, allocations: 0.8398 MB / 0.6961 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.173, allocations: 4 kB / 0.6961 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.1735, allocations: 374.1 kB / 0.6965 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.174, allocations: 81.25 kB / 0.6965 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005734/0.1797, allocations: 4.413 MB / 0.7008 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1801, allocations: 0.7869 MB / 0.7016 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.797e-05/0.1802, allocations: 17.95 kB / 0.7016 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1803, allocations: 91.41 kB / 0.7017 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1803, allocations: 0 / 0.7017 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.2061, allocations: 8.673 MB / 0.7102 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.811, allocations: 15.66 kB / 0.7102 GB, free: 1.348 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)