Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001324/0.001324, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 294.5 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 99.73 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1585, allocations: 89.16 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00267/0.1612, allocations: 1.499 MB / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.1617, allocations: 196.7 kB / 0.6946 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.1617, allocations: 0.625 kB / 0.6946 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.1618, allocations: 0 / 0.6946 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.1618, allocations: 4.781 kB / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1621, allocations: 33.12 kB / 0.6947 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.1622, allocations: 27.92 kB / 0.6947 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.1623, allocations: 8 kB / 0.6947 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.1623, allocations: 14.83 kB / 0.6947 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.1624, allocations: 11.92 kB / 0.6947 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1624, allocations: 4 kB / 0.6947 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.1625, allocations: 31.97 kB / 0.6948 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1625, allocations: 4 kB / 0.6948 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.1625, allocations: 11.92 kB / 0.6948 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1626, allocations: 31.94 kB / 0.6948 GB, free: 2.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1627, allocations: 13.25 kB / 0.6948 GB, free: 2.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1627, allocations: 0 / 0.6948 GB, free: 2.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1627, allocations: 0 / 0.6948 GB, free: 2.824 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004687/0.1631, allocations: 344.3 kB / 0.6951 GB, free: 2.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1632, allocations: 9.594 kB / 0.6952 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.1632, allocations: 4.938 kB / 0.6952 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1633, allocations: 168.3 kB / 0.6953 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1634, allocations: 384 / 0.6953 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.1634, allocations: 4.375 kB / 0.6953 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1636, allocations: 54.17 kB / 0.6954 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1636, allocations: 192 / 0.6954 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1636, allocations: 3.938 kB / 0.6954 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1636, allocations: 0 / 0.6954 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1638, allocations: 35.95 kB / 0.6954 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.1641, allocations: 244.9 kB / 0.6957 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1643, allocations: 42.59 kB / 0.6957 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1644, allocations: 28.78 kB / 0.6957 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.1645, allocations: 85.09 kB / 0.6958 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1645, allocations: 34.55 kB / 0.6958 GB, free: 1.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.1645, allocations: 4 kB / 0.6958 GB, free: 1.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.1649, allocations: 77.66 kB / 0.6959 GB, free: 1.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1649, allocations: 51.41 kB / 0.696 GB, free: 1.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.165, allocations: 102 kB / 0.6961 GB, free: 1.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.165, allocations: 29.7 kB / 0.6961 GB, free: 1.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.1651, allocations: 80.14 kB / 0.6962 GB, free: 1.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.1651, allocations: 12.03 kB / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1651, allocations: 17.7 kB / 0.6962 GB, free: 1.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1653, allocations: 310.8 kB / 0.6965 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.1654, allocations: 19.92 kB / 0.6965 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.1655, allocations: 20.05 kB / 0.6965 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1656, allocations: 44.88 kB / 0.6966 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1656, allocations: 4 kB / 0.6966 GB, free: 0.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.1659, allocations: 69.53 kB / 0.6966 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1659, allocations: 8 kB / 0.6966 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1659, allocations: 3.938 kB / 0.6966 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1659, allocations: 0 / 0.6966 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.166, allocations: 4 kB / 0.6967 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.166, allocations: 8.031 kB / 0.6967 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1661, allocations: 11.86 kB / 0.6967 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1661, allocations: 4 kB / 0.6967 GB, free: 0.6797 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 (2): * Single equations (assignments): 2 * 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 8.22e-05/0.1662, allocations: 113.8 kB / 0.6968 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1662, allocations: 3.906 kB / 0.6968 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.1664, allocations: 72.77 kB / 0.6969 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1664, allocations: 8.016 kB / 0.6969 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1665, allocations: 0 / 0.6969 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1665, allocations: 0 / 0.6969 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1666, allocations: 161.6 kB / 0.697 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1667, allocations: 0 / 0.697 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.1667, allocations: 7.984 kB / 0.697 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1667, allocations: 0 / 0.697 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1667, allocations: 4 kB / 0.697 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1667, allocations: 4 kB / 0.697 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1668, allocations: 0 / 0.697 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.167, allocations: 167.4 kB / 0.6972 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.1671, allocations: 77.11 kB / 0.6973 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1671, allocations: 0 / 0.6973 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.1672, allocations: 11.98 kB / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1672, allocations: 0 / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1672, allocations: 4 kB / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.1673, allocations: 91.3 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1673, allocations: 0 / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002283/0.1675, allocations: 8 kB / 0.6974 GB, free: 15.86 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.0001714/0.1677, allocations: 111.2 kB / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1679, allocations: 39.89 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1679, allocations: 0 / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.168, allocations: 20.05 kB / 0.6975 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.1683, allocations: 11.94 kB / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.1686, allocations: 105.5 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1689, allocations: 0.6768 MB / 0.6983 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.1689, allocations: 3.938 kB / 0.6983 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.1689, allocations: 15.5 kB / 0.6983 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1689, allocations: 0 / 0.6983 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002752/0.1717, allocations: 0.5272 MB / 0.6988 GB, free: 14.29 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)