Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001134/0.001134, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00137/0.00137, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9985/0.9985, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 12 kB / 0.5158 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 83.4 MB / 0.5973 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.001808/0.1646, allocations: 1.147 MB / 0.5984 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003873/0.165, allocations: 188.4 kB / 0.5986 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.165, allocations: 0 / 0.5986 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1651, allocations: 3.984 kB / 0.5986 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.1651, allocations: 4 kB / 0.5986 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1654, allocations: 23.97 kB / 0.5986 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.1654, allocations: 15.92 kB / 0.5986 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.1655, allocations: 3.984 kB / 0.5986 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.1655, allocations: 4 kB / 0.5986 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.1656, allocations: 19.92 kB / 0.5986 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1656, allocations: 3.938 kB / 0.5987 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.1657, allocations: 31.97 kB / 0.5987 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.1657, allocations: 0 / 0.5987 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.1657, allocations: 25.7 kB / 0.5987 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.136e-05/0.1658, allocations: 31.94 kB / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1658, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1658, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1659, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB 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.000412/0.1663, allocations: 347.5 kB / 0.5991 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1663, allocations: 8.031 kB / 0.5991 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1663, allocations: 4 kB / 0.5991 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1665, allocations: 175 kB / 0.5992 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1665, allocations: 0 / 0.5992 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1665, allocations: 0 / 0.5992 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.1668, allocations: 57.67 kB / 0.5993 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1668, allocations: 7.984 kB / 0.5993 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1668, allocations: 0 / 0.5993 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1668, allocations: 0 / 0.5993 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.167, allocations: 39.97 kB / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1674, allocations: 252.9 kB / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1676, allocations: 42.56 kB / 0.5996 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.1677, allocations: 85.09 kB / 0.5997 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.1678, allocations: 38.56 kB / 0.5997 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1678, allocations: 0 / 0.5997 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004362/0.1682, allocations: 97.64 kB / 0.5998 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1683, allocations: 59.38 kB / 0.5999 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1684, allocations: 105.8 kB / 0.6 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1684, allocations: 29.64 kB / 0.6 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.1685, allocations: 88.12 kB / 0.6001 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1685, allocations: 3.906 kB / 0.6001 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.1685, allocations: 0 / 0.6001 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1687, allocations: 322.8 kB / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-05/0.1688, allocations: 19.98 kB / 0.6004 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.1689, allocations: 23.98 kB / 0.6005 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.169, allocations: 19.97 kB / 0.6005 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.169, allocations: 4.062 kB / 0.6005 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.1692, allocations: 73.67 kB / 0.6006 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1692, allocations: 4 kB / 0.6006 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1692, allocations: 0 / 0.6006 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1692, allocations: 3.984 kB / 0.6006 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1694, allocations: 12.03 kB / 0.6006 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1694, allocations: 3.938 kB / 0.6006 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.1694, allocations: 15.98 kB / 0.6006 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1695, allocations: 3.953 kB / 0.6006 GB, free: 4.23 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.258e-05/0.1695, allocations: 105.8 kB / 0.6007 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1696, allocations: 4 kB / 0.6007 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.1698, allocations: 84.78 kB / 0.6008 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1699, allocations: 0 / 0.6008 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1699, allocations: 3.984 kB / 0.6008 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1699, allocations: 0 / 0.6008 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.17, allocations: 161.8 kB / 0.6009 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.1701, allocations: 8.031 kB / 0.601 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.1701, allocations: 15.98 kB / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1702, allocations: 0 / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.1702, allocations: 0 / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1702, allocations: 0 / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1702, allocations: 3.938 kB / 0.601 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1704, allocations: 183.4 kB / 0.6011 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.1705, allocations: 77.11 kB / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1705, allocations: 0 / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.1706, allocations: 7.984 kB / 0.6012 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1707, allocations: 4 kB / 0.6012 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1707, allocations: 4.031 kB / 0.6012 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.1707, allocations: 87.27 kB / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1707, allocations: 0 / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002308/0.171, allocations: 12 kB / 0.6013 GB, free: 3.387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.1712, allocations: 107.2 kB / 0.6014 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1714, allocations: 55.89 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1714, allocations: 0 / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.1715, allocations: 27.92 kB / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.1717, allocations: 3.953 kB / 0.6015 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.172, allocations: 112.8 kB / 0.6016 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1724, allocations: 0.6809 MB / 0.6023 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.1724, allocations: 3.984 kB / 0.6023 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.1725, allocations: 7.438 kB / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1725, allocations: 0 / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of Templates: time 0.003185/0.1757, allocations: 0.4931 MB / 0.6028 GB, free: 1.84 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: