Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 101.4 kB / 16.35 MB, free: 6.285 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.0009887/0.0009888, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002222/0.002222, allocations: 284 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 91.42 kB / 0.5966 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1618, allocations: 86.98 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001964/0.1637, allocations: 0.5802 MB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.093e-05/0.1638, allocations: 8 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.1638, allocations: 0 / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.1639, allocations: 4 kB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-06/0.1639, allocations: 0 / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.31e-05/0.1639, allocations: 0 / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.097e-05/0.164, allocations: 3.984 kB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.164, allocations: 0 / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.164, allocations: 7.922 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.456e-05/0.1641, allocations: 3.938 kB / 0.6822 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1641, allocations: 4 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-06/0.1641, allocations: 0 / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.1641, allocations: 4 kB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.1641, allocations: 0 / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.441e-05/0.1642, allocations: 0 / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1642, allocations: 4 kB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1642, allocations: 0 / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1642, allocations: 0 / 0.6822 GB, free: 6.859 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002535/0.1645, allocations: 315.6 kB / 0.6825 GB, free: 6.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1645, allocations: 8.031 kB / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.1645, allocations: 0.9375 kB / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1647, allocations: 168.4 kB / 0.6827 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1647, allocations: 4.375 kB / 0.6827 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.1647, allocations: 384 / 0.6827 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.1648, allocations: 26.27 kB / 0.6827 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1648, allocations: 192 / 0.6827 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1648, allocations: 3.938 kB / 0.6827 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1648, allocations: 4 kB / 0.6827 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.1648, allocations: 3.938 kB / 0.6827 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.1649, allocations: 153.6 kB / 0.6828 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.305e-05/0.165, allocations: 26.55 kB / 0.6829 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.165, allocations: 4.859 kB / 0.6829 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.165, allocations: 0 / 0.6829 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1651, allocations: 42.62 kB / 0.6829 GB, free: 5.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1651, allocations: 0 / 0.6829 GB, free: 5.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000103/0.1652, allocations: 37.58 kB / 0.683 GB, free: 5.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1652, allocations: 59.52 kB / 0.683 GB, free: 5.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.333e-05/0.1652, allocations: 89.86 kB / 0.6831 GB, free: 5.738 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.1653, allocations: 25.7 kB / 0.6831 GB, free: 5.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.1653, allocations: 80.14 kB / 0.6832 GB, free: 5.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1653, allocations: 3.938 kB / 0.6832 GB, free: 5.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.1653, allocations: 13.72 kB / 0.6832 GB, free: 5.602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.1654, allocations: 314.8 kB / 0.6835 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.1655, allocations: 0 / 0.6835 GB, free: 5.285 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-06/0.1655, allocations: 8 kB / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.066e-05/0.1655, allocations: 4.859 kB / 0.6835 GB, free: 5.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1655, allocations: 0 / 0.6835 GB, free: 5.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.529e-05/0.1656, allocations: 41.62 kB / 0.6836 GB, free: 5.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1656, allocations: 4 kB / 0.6836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1656, allocations: 0 / 0.6836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1656, allocations: 3.938 kB / 0.6836 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.1656, allocations: 0 / 0.6836 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1657, allocations: 4 kB / 0.6836 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.1657, allocations: 4.094 kB / 0.6836 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1657, allocations: 3.984 kB / 0.6836 GB, free: 5.203 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.394e-05/0.1658, allocations: 110.9 kB / 0.6837 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.1658, allocations: 0 / 0.6837 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.583e-05/0.1658, allocations: 7.062 kB / 0.6837 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1658, allocations: 4 kB / 0.6837 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1658, allocations: 0 / 0.6837 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1658, allocations: 0 / 0.6837 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.702e-05/0.1659, allocations: 145.7 kB / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1659, allocations: 0 / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.1659, allocations: 4 kB / 0.6838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1659, allocations: 4 kB / 0.6839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.166, allocations: 3.938 kB / 0.6839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.166, allocations: 3.938 kB / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.166, allocations: 0 / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.15e-05/0.166, allocations: 61.06 kB / 0.6839 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1661, allocations: 81.11 kB / 0.684 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1661, allocations: 7.969 kB / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-06/0.1661, allocations: 3.938 kB / 0.684 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1661, allocations: 0 / 0.684 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.1661, allocations: 0 / 0.684 GB, free: 4.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.945e-05/0.1662, allocations: 75.28 kB / 0.6841 GB, free: 4.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 0.6841 GB, free: 4.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.1664, allocations: 0 / 0.6841 GB, free: 4.605 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.00011/0.1665, allocations: 99.23 kB / 0.6842 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.417e-05/0.1666, allocations: 15.94 kB / 0.6842 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1666, allocations: 0 / 0.6842 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.1666, allocations: 4 kB / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.1667, allocations: 0 / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.1669, allocations: 72.98 kB / 0.6843 GB, free: 4.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1673, allocations: 0.669 MB / 0.6849 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.181e-05/0.1673, allocations: 0 / 0.6849 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.1673, allocations: 7.438 kB / 0.6849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1673, allocations: 128 / 0.6849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of Templates: time 0.00164/0.169, allocations: 176.9 kB / 0.6851 GB, free: 3.504 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)