Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009231, 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.0009776/0.0009777, allocations: 177.3 kB / 15.94 MB, free: 228 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.326/1.326, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.043/1.043, allocations: 143.3 MB / 434.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003248, allocations: 8 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 83.4 MB / 0.5973 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001537/0.1512, allocations: 1.147 MB / 0.5984 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006165/0.1518, allocations: 436.2 kB / 0.5988 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.1519, allocations: 0 / 0.5988 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.1519, allocations: 0 / 0.5988 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.1519, allocations: 11.92 kB / 0.5988 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1521, allocations: 15.98 kB / 0.5988 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.77e-05/0.1522, allocations: 15.97 kB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.194e-05/0.1522, allocations: 8 kB / 0.5989 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.1523, allocations: 11.92 kB / 0.5989 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.1523, allocations: 7.984 kB / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1523, allocations: 4 kB / 0.5989 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.1524, allocations: 15.98 kB / 0.5989 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.1524, allocations: 7.922 kB / 0.5989 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.1525, allocations: 29.7 kB / 0.5989 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.27e-05/0.1525, allocations: 27.91 kB / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1525, allocations: 0 / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1525, allocations: 0 / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1525, allocations: 3.938 kB / 0.599 GB, free: 6.172 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.0003921/0.1529, allocations: 343.5 kB / 0.5993 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.153, allocations: 8.031 kB / 0.5993 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.153, allocations: 4 kB / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.1531, allocations: 171 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.1531, allocations: 0 / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.1531, allocations: 0 / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1533, allocations: 53.67 kB / 0.5995 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1533, allocations: 3.938 kB / 0.5995 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1533, allocations: 0 / 0.5995 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1533, allocations: 4 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1535, allocations: 47.95 kB / 0.5996 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.1538, allocations: 252.9 kB / 0.5998 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.154, allocations: 46.55 kB / 0.5999 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.1541, allocations: 81.17 kB / 0.5999 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1541, allocations: 38.5 kB / 0.6 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1541, allocations: 0 / 0.6 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.1545, allocations: 101.5 kB / 0.6001 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1545, allocations: 51.41 kB / 0.6001 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.1546, allocations: 113.8 kB / 0.6002 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1546, allocations: 25.7 kB / 0.6002 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.1547, allocations: 88.27 kB / 0.6003 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.1547, allocations: 3.906 kB / 0.6003 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.1547, allocations: 0 / 0.6003 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1548, allocations: 318.8 kB / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.1549, allocations: 19.98 kB / 0.6007 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.155, allocations: 23.98 kB / 0.6007 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.1551, allocations: 23.92 kB / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1551, allocations: 0 / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.1553, allocations: 81.72 kB / 0.6008 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1553, allocations: 7.938 kB / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1553, allocations: 0 / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.1553, allocations: 0 / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.1554, allocations: 11.98 kB / 0.6008 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1554, allocations: 3.984 kB / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1555, allocations: 19.95 kB / 0.6008 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1555, allocations: 3.953 kB / 0.6008 GB, free: 4.027 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 7.463e-05/0.1556, allocations: 109.8 kB / 0.6009 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1556, allocations: 4 kB / 0.6009 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.1559, allocations: 88.72 kB / 0.601 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.156, allocations: 0 / 0.601 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.156, allocations: 0 / 0.601 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.156, allocations: 3.938 kB / 0.601 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1562, allocations: 165.5 kB / 0.6012 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1562, allocations: 0 / 0.6012 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.1563, allocations: 12 kB / 0.6012 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1563, allocations: 3.984 kB / 0.6012 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1563, allocations: 0 / 0.6012 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1563, allocations: 4.031 kB / 0.6012 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1563, allocations: 0 / 0.6012 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.1567, allocations: 183.4 kB / 0.6014 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.1567, allocations: 77.11 kB / 0.6014 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1568, allocations: 0 / 0.6014 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1569, allocations: 7.984 kB / 0.6015 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.1569, allocations: 4 kB / 0.6015 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1569, allocations: 0 / 0.6015 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.157, allocations: 83.28 kB / 0.6015 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.157, allocations: 0 / 0.6015 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003642/0.1574, allocations: 8 kB / 0.6015 GB, free: 3.191 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.0001539/0.1575, allocations: 103.3 kB / 0.6016 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.1578, allocations: 43.97 kB / 0.6017 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1578, allocations: 0 / 0.6017 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.158, allocations: 35.97 kB / 0.6017 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1582, allocations: 10.36 kB / 0.6017 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.1585, allocations: 112.6 kB / 0.6018 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1588, allocations: 0.677 MB / 0.6025 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.1588, allocations: 8.062 kB / 0.6025 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.1588, allocations: 7.438 kB / 0.6025 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1588, allocations: 0 / 0.6025 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.003082/0.1619, allocations: 484.8 kB / 0.603 GB, free: 1.668 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: