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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7555/0.7555, allocations: 128.7 MB / 144.5 MB, free: 1.383 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 187.2 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 110 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001073, allocations: 53.23 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1669, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002409/0.1694, allocations: 1.49 MB / 0.6331 GB, free: 31.54 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003584/0.1698, allocations: 135.6 kB / 0.6333 GB, free: 31.41 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.1698, allocations: 0 / 0.6333 GB, free: 31.41 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.1699, allocations: 4 kB / 0.6333 GB, free: 31.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.1699, allocations: 7.938 kB / 0.6333 GB, free: 31.4 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1701, allocations: 15.97 kB / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.1702, allocations: 23.92 kB / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.1703, allocations: 4 kB / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.1703, allocations: 11.94 kB / 0.6333 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.1704, allocations: 15.86 kB / 0.6333 GB, free: 31.33 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1704, allocations: 0 / 0.6333 GB, free: 31.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.1705, allocations: 35.97 kB / 0.6334 GB, free: 31.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1705, allocations: 4 kB / 0.6334 GB, free: 31.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.1705, allocations: 15.92 kB / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.446e-05/0.1706, allocations: 35.89 kB / 0.6334 GB, free: 31.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1706, allocations: 0 / 0.6334 GB, free: 31.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1706, allocations: 3.984 kB / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1707, allocations: 0 / 0.6334 GB, free: 31.23 MB / 442.7 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.0003607/0.171, allocations: 343.8 kB / 0.6338 GB, free: 30.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1711, allocations: 8.031 kB / 0.6338 GB, free: 30.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.1711, allocations: 4.938 kB / 0.6338 GB, free: 30.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.1712, allocations: 168.3 kB / 0.6339 GB, free: 30.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1712, allocations: 384 / 0.6339 GB, free: 30.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1712, allocations: 384 / 0.6339 GB, free: 30.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1714, allocations: 58.16 kB / 0.634 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1714, allocations: 192 / 0.634 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1714, allocations: 3.938 kB / 0.634 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1714, allocations: 0 / 0.634 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.1716, allocations: 39.95 kB / 0.634 GB, free: 30.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.1718, allocations: 245 kB / 0.6343 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1719, allocations: 46.42 kB / 0.6343 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.172, allocations: 20.91 kB / 0.6343 GB, free: 30.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.1724, allocations: 210.1 kB / 0.6345 GB, free: 29.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.1724, allocations: 30.56 kB / 0.6346 GB, free: 29.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1724, allocations: 0 / 0.6346 GB, free: 29.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003176/0.1727, allocations: 85.55 kB / 0.6346 GB, free: 29.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.1728, allocations: 55.53 kB / 0.6347 GB, free: 29.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.54e-05/0.1728, allocations: 97.86 kB / 0.6348 GB, free: 29.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.1729, allocations: 29.7 kB / 0.6348 GB, free: 29.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.1729, allocations: 88.06 kB / 0.6349 GB, free: 29.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.1729, allocations: 7.891 kB / 0.6349 GB, free: 29.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.1729, allocations: 17.72 kB / 0.6349 GB, free: 29.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.173, allocations: 310.8 kB / 0.6352 GB, free: 29.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.1731, allocations: 19.98 kB / 0.6352 GB, free: 29.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.1731, allocations: 19.97 kB / 0.6353 GB, free: 29.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1733, allocations: 36.77 kB / 0.6353 GB, free: 29.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1733, allocations: 4 kB / 0.6353 GB, free: 29.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001584/0.1734, allocations: 69.69 kB / 0.6354 GB, free: 28.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1735, allocations: 13.72 kB / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1735, allocations: 0 / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1735, allocations: 0 / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.1736, allocations: 15.86 kB / 0.6354 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1736, allocations: 0 / 0.6354 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.1736, allocations: 4 kB / 0.6354 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1737, allocations: 4 kB / 0.6354 GB, free: 28.96 MB / 442.7 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 4.204e-05/0.1737, allocations: 109.8 kB / 0.6355 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.1737, allocations: 7.984 kB / 0.6355 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.1739, allocations: 72.78 kB / 0.6356 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1739, allocations: 0 / 0.6356 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1739, allocations: 256 / 0.6356 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.174, allocations: 0 / 0.6356 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1741, allocations: 169.5 kB / 0.6357 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1741, allocations: 0 / 0.6357 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.1741, allocations: 7.984 kB / 0.6358 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1741, allocations: 4.031 kB / 0.6358 GB, free: 28.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1741, allocations: 0 / 0.6358 GB, free: 28.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1742, allocations: 7.938 kB / 0.6358 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1742, allocations: 0 / 0.6358 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.1745, allocations: 0.724 MB / 0.6365 GB, free: 27.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.1746, allocations: 81.11 kB / 0.6365 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1746, allocations: 3.984 kB / 0.6366 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.1746, allocations: 4 kB / 0.6366 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1747, allocations: 0 / 0.6366 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1747, allocations: 7.922 kB / 0.6366 GB, free: 27.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.1747, allocations: 83.28 kB / 0.6366 GB, free: 27.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1747, allocations: 0 / 0.6366 GB, free: 27.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000307/0.175, allocations: 15.94 kB / 0.6367 GB, free: 27.53 MB / 442.7 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 (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.0001323/0.1752, allocations: 103.2 kB / 0.6368 GB, free: 27.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1754, allocations: 35.97 kB / 0.6368 GB, free: 27.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1754, allocations: 3.938 kB / 0.6368 GB, free: 27.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.1755, allocations: 23.92 kB / 0.6368 GB, free: 27.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.1757, allocations: 4.125 kB / 0.6368 GB, free: 27.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.176, allocations: 213.9 kB / 0.637 GB, free: 27.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1761, allocations: 0.677 MB / 0.6377 GB, free: 26.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.1762, allocations: 0 / 0.6377 GB, free: 26.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.1762, allocations: 7.438 kB / 0.6377 GB, free: 26.39 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1762, allocations: 0 / 0.6377 GB, free: 26.39 MB / 442.7 MB Notification: Performance of Templates: time 0.002376/0.1786, allocations: 0.5895 MB / 0.6383 GB, free: 25.8 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (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)