Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential") translateModel(IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001465/0.001465, allocations: 117 kB / 17.09 MB, free: 5.938 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.001426/0.001427, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7455/0.7455, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.25 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1606, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002704/0.1634, allocations: 1.424 MB / 0.6341 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004433/0.1638, allocations: 200.2 kB / 0.6343 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.1639, allocations: 0 / 0.6343 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.1639, allocations: 0 / 0.6343 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.164, allocations: 11.94 kB / 0.6343 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1643, allocations: 35.91 kB / 0.6344 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.1644, allocations: 19.92 kB / 0.6344 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.1644, allocations: 11.98 kB / 0.6344 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1645, allocations: 7.938 kB / 0.6344 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.1645, allocations: 11.98 kB / 0.6344 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1646, allocations: 0 / 0.6344 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1647, allocations: 31.97 kB / 0.6344 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1647, allocations: 15.92 kB / 0.6345 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.1647, allocations: 0 / 0.6345 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1649, allocations: 51.88 kB / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1649, allocations: 0 / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1649, allocations: 0 / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1649, allocations: 0 / 0.6345 GB, free: 2.555 MB / 478.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.0004725/0.1654, allocations: 343.4 kB / 0.6348 GB, free: 2.168 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1654, allocations: 8.031 kB / 0.6348 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1654, allocations: 4.938 kB / 0.6348 GB, free: 2.156 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1656, allocations: 180.1 kB / 0.635 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1656, allocations: 384 / 0.635 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1656, allocations: 8.375 kB / 0.635 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1658, allocations: 50.23 kB / 0.6351 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1658, allocations: 192 / 0.6351 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1658, allocations: 3.938 kB / 0.6351 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1658, allocations: 0 / 0.6351 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.166, allocations: 31.97 kB / 0.6351 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1663, allocations: 249 kB / 0.6353 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1665, allocations: 42.44 kB / 0.6354 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.1666, allocations: 24.89 kB / 0.6354 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1667, allocations: 81.11 kB / 0.6355 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1667, allocations: 30.56 kB / 0.6355 GB, free: 1.336 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1667, allocations: 4 kB / 0.6355 GB, free: 1.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003372/0.167, allocations: 85.58 kB / 0.6356 GB, free: 1.242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1671, allocations: 51.41 kB / 0.6357 GB, free: 1.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.1672, allocations: 113.8 kB / 0.6358 GB, free: 1.059 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1672, allocations: 25.7 kB / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.1672, allocations: 84.14 kB / 0.6359 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.1673, allocations: 12.03 kB / 0.6359 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1673, allocations: 9.719 kB / 0.6359 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1674, allocations: 314.8 kB / 0.6362 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.1675, allocations: 19.97 kB / 0.6362 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.1676, allocations: 11.98 kB / 0.6362 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1677, allocations: 44.89 kB / 0.6363 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1677, allocations: 0 / 0.6363 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.1679, allocations: 73.53 kB / 0.6363 GB, free: 452 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.168, allocations: 5.406 kB / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.168, allocations: 0 / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.168, allocations: 0 / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.1681, allocations: 11.98 kB / 0.6363 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1681, allocations: 0 / 0.6363 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.1682, allocations: 15.95 kB / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1682, allocations: 0 / 0.6364 GB, free: 420 kB / 478.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 7.02e-05/0.1682, allocations: 117.8 kB / 0.6365 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1683, allocations: 7.844 kB / 0.6365 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.1685, allocations: 72.77 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1685, allocations: 0 / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1685, allocations: 4.031 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1685, allocations: 3.938 kB / 0.6366 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.1687, allocations: 165.6 kB / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1687, allocations: 0 / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.1688, allocations: 12 kB / 0.6367 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1688, allocations: 3.984 kB / 0.6367 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1688, allocations: 0 / 0.6367 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1688, allocations: 0 / 0.6367 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1688, allocations: 0 / 0.6367 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1691, allocations: 163.5 kB / 0.6369 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.1691, allocations: 77.11 kB / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1691, allocations: 4 kB / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.1692, allocations: 11.98 kB / 0.637 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1693, allocations: 0 / 0.637 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1693, allocations: 0 / 0.637 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.1693, allocations: 87.56 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1693, allocations: 0 / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1695, allocations: 12 kB / 0.6371 GB, free: 15.58 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 (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.0001899/0.1697, allocations: 119.2 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.17, allocations: 31.97 kB / 0.6372 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.17, allocations: 3.938 kB / 0.6372 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/0.1701, allocations: 24.03 kB / 0.6372 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.1703, allocations: 11.94 kB / 0.6373 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.1706, allocations: 127.2 kB / 0.6374 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1709, allocations: 0.6729 MB / 0.638 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.1709, allocations: 19.36 kB / 0.6381 GB, free: 14.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1709, allocations: 0 / 0.6381 GB, free: 14.5 MB / 494.1 MB Notification: Performance of Templates: time 0.002013/0.1729, allocations: 0.6623 MB / 0.6387 GB, free: 13.84 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)