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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007449/0.0007449, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004703/0.004703, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 271 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.5 MB / 0.5004 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 12.81 kB / 0.5987 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00206/0.1553, allocations: 1.778 MB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.157, allocations: 1.192 MB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.1571, allocations: 4 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1574, allocations: 102.9 kB / 0.6881 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.288e-05/0.1575, allocations: 31.72 kB / 0.6882 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1581, allocations: 209.8 kB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.1583, allocations: 267.2 kB / 0.6886 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1585, allocations: 86.14 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.1586, allocations: 79.7 kB / 0.6888 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1587, allocations: 111.4 kB / 0.6889 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1588, allocations: 11.94 kB / 0.6889 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.159, allocations: 199.7 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.1591, allocations: 69.19 kB / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1593, allocations: 156.9 kB / 0.6893 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004744/0.1598, allocations: 0.5062 MB / 0.6898 GB, free: 10.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1598, allocations: 0 / 0.6898 GB, free: 10.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1598, allocations: 0.6562 kB / 0.6898 GB, free: 10.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1598, allocations: 0 / 0.6898 GB, free: 10.27 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.0009835/0.1608, allocations: 0.7847 MB / 0.6906 GB, free: 9.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1608, allocations: 8.031 kB / 0.6906 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.1609, allocations: 36.5 kB / 0.6906 GB, free: 9.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1612, allocations: 320.4 kB / 0.6909 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1613, allocations: 17.2 kB / 0.6909 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.1613, allocations: 20.38 kB / 0.691 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.1619, allocations: 307.2 kB / 0.6913 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1619, allocations: 0 / 0.6913 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.162, allocations: 19.97 kB / 0.6913 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.162, allocations: 4 kB / 0.6913 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.1626, allocations: 300.1 kB / 0.6916 GB, free: 8.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.1635, allocations: 0.6796 MB / 0.6922 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.1641, allocations: 246.6 kB / 0.6925 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.1645, allocations: 204.7 kB / 0.6927 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1645, allocations: 4 kB / 0.6927 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1645, allocations: 34.56 kB / 0.6927 GB, free: 7.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1646, allocations: 4 kB / 0.6927 GB, free: 7.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001332/0.1659, allocations: 0.7235 MB / 0.6934 GB, free: 6.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.166, allocations: 132.6 kB / 0.6935 GB, free: 6.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.1663, allocations: 388.3 kB / 0.6939 GB, free: 5.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1664, allocations: 29.7 kB / 0.6939 GB, free: 5.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1665, allocations: 164.3 kB / 0.6941 GB, free: 5.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.1665, allocations: 47.44 kB / 0.6941 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1666, allocations: 25.7 kB / 0.6942 GB, free: 5.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1667, allocations: 342.8 kB / 0.6945 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.1672, allocations: 259.8 kB / 0.6947 GB, free: 4.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.1676, allocations: 251.9 kB / 0.695 GB, free: 4.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/0.1685, allocations: 0.7167 MB / 0.6957 GB, free: 3.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1685, allocations: 0 / 0.6957 GB, free: 3.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001073/0.1696, allocations: 0.7608 MB / 0.6964 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.1697, allocations: 186.2 kB / 0.6966 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1698, allocations: 0 / 0.6966 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1698, allocations: 0 / 0.6966 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.17, allocations: 35.97 kB / 0.6966 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.17, allocations: 4 kB / 0.6966 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1702, allocations: 59.66 kB / 0.6967 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1702, allocations: 4 kB / 0.6967 GB, free: 2.805 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.0002114/0.1704, allocations: 267.4 kB / 0.6969 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.1705, allocations: 31.62 kB / 0.697 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.1706, allocations: 30.94 kB / 0.697 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1706, allocations: 0 / 0.697 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1706, allocations: 4 kB / 0.697 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1706, allocations: 0 / 0.697 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.1709, allocations: 345.3 kB / 0.6973 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1709, allocations: 3.938 kB / 0.6973 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1711, allocations: 43.97 kB / 0.6974 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1711, allocations: 0 / 0.6974 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1711, allocations: 4 kB / 0.6974 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1711, allocations: 0 / 0.6974 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1711, allocations: 0 / 0.6974 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009677/0.1721, allocations: 0.6639 MB / 0.698 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.1722, allocations: 108.7 kB / 0.6981 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.1722, allocations: 4 kB / 0.6981 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.1725, allocations: 43.95 kB / 0.6982 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1726, allocations: 31.95 kB / 0.6982 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1726, allocations: 4 kB / 0.6982 GB, free: 1.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.1729, allocations: 271 kB / 0.6985 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1729, allocations: 0 / 0.6985 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.1733, allocations: 108 kB / 0.6986 GB, free: 0.7344 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.0002704/0.1736, allocations: 159.1 kB / 0.6987 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.1747, allocations: 0.8672 MB / 0.6996 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1747, allocations: 4 kB / 0.6996 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.1752, allocations: 394 kB / 0.7 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1757, allocations: 66.08 kB / 0.7 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.1767, allocations: 0.7455 MB / 0.7007 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.177, allocations: 0.7792 MB / 0.7015 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.07e-05/0.1771, allocations: 25.89 kB / 0.7015 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1771, allocations: 19.44 kB / 0.7016 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1771, allocations: 0 / 0.7016 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.008851/0.186, allocations: 5.428 MB / 0.7069 GB, free: 8.184 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)