Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 119.5 kB / 17.09 MB, free: 6.012 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.001728/0.001728, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7274/0.7274, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.81 kB / 0.5584 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 76.17 MB / 0.6328 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001837/0.1389, allocations: 0.5766 MB / 0.6333 GB, free: 3.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1403, allocations: 1.108 MB / 0.6344 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.1404, allocations: 0 / 0.6344 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.1404, allocations: 0 / 0.6344 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1406, allocations: 23.84 kB / 0.6344 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.1406, allocations: 0 / 0.6344 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.1407, allocations: 3.938 kB / 0.6344 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1407, allocations: 4 kB / 0.6345 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.1408, allocations: 7.938 kB / 0.6345 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.193e-05/0.1408, allocations: 7.984 kB / 0.6345 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.1408, allocations: 0 / 0.6345 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1409, allocations: 27.91 kB / 0.6345 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.1409, allocations: 4 kB / 0.6345 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.141, allocations: 0 / 0.6345 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.573e-05/0.141, allocations: 11.92 kB / 0.6345 GB, free: 2.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.1411, allocations: 4 kB / 0.6345 GB, free: 2.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1411, allocations: 0 / 0.6345 GB, free: 2.703 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1411, allocations: 0 / 0.6345 GB, free: 2.703 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.0002711/0.1413, allocations: 323.6 kB / 0.6348 GB, free: 2.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1414, allocations: 8.031 kB / 0.6348 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.1414, allocations: 0.9375 kB / 0.6348 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.634e-05/0.1415, allocations: 160.4 kB / 0.635 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.1415, allocations: 384 / 0.635 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1416, allocations: 8.375 kB / 0.635 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.1417, allocations: 41.94 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1417, allocations: 0 / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1417, allocations: 0 / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1417, allocations: 0 / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.1417, allocations: 4 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.1419, allocations: 157.7 kB / 0.6352 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1421, allocations: 34.61 kB / 0.6352 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.1421, allocations: 8.859 kB / 0.6352 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.1422, allocations: 81.09 kB / 0.6353 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1423, allocations: 46.44 kB / 0.6353 GB, free: 1.668 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1423, allocations: 4 kB / 0.6354 GB, free: 1.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.004343/0.1466, allocations: 0.5676 MB / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1467, allocations: 55.41 kB / 0.636 GB, free: 1.023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.927e-05/0.1467, allocations: 93.84 kB / 0.636 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1468, allocations: 25.7 kB / 0.6361 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.1468, allocations: 80.14 kB / 0.6362 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1468, allocations: 15.75 kB / 0.6362 GB, free: 0.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.1469, allocations: 21.72 kB / 0.6362 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.147, allocations: 314.8 kB / 0.6365 GB, free: 460 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.1476, allocations: 83.95 kB / 0.6366 GB, free: 376 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.1483, allocations: 106.7 kB / 0.6367 GB, free: 260 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.1495, allocations: 202.4 kB / 0.6369 GB, free: 48 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1495, allocations: 0 / 0.6369 GB, free: 48 kB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001312/0.1508, allocations: 217.5 kB / 0.6371 GB, free: 15.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1508, allocations: 4.062 kB / 0.6371 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1508, allocations: 4 kB / 0.6371 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1509, allocations: 4 kB / 0.6371 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.1513, allocations: 47.97 kB / 0.6371 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.1513, allocations: 4 kB / 0.6371 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.1517, allocations: 35.98 kB / 0.6372 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1517, allocations: 7.984 kB / 0.6372 GB, free: 15.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.927e-05/0.1518, allocations: 109.8 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.1518, allocations: 12.27 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.1532, allocations: 233 kB / 0.6375 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1532, allocations: 4 kB / 0.6375 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1532, allocations: 0 / 0.6375 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1533, allocations: 3.984 kB / 0.6375 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.1548, allocations: 462.3 kB / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1548, allocations: 0 / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.1552, allocations: 47.97 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1552, allocations: 0 / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1552, allocations: 0 / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1552, allocations: 0 / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1553, allocations: 7.984 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.1566, allocations: 307.5 kB / 0.6383 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.1566, allocations: 85.03 kB / 0.6384 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1566, allocations: 4 kB / 0.6384 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.157, allocations: 35.98 kB / 0.6384 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.1571, allocations: 4 kB / 0.6384 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1571, allocations: 3.984 kB / 0.6384 GB, free: 14.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.1571, allocations: 75.28 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1571, allocations: 4 kB / 0.6385 GB, free: 14.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1574, allocations: 19.94 kB / 0.6385 GB, free: 14.22 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 (5): * Single equations (assignments): 5 * 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.0001767/0.1576, allocations: 99.25 kB / 0.6386 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.1589, allocations: 183.8 kB / 0.6388 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.1589, allocations: 0 / 0.6388 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.1595, allocations: 88.08 kB / 0.6389 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1597, allocations: 11.94 kB / 0.6389 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1609, allocations: 242.6 kB / 0.6391 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1612, allocations: 0.6768 MB / 0.6398 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.1613, allocations: 11.44 kB / 0.6398 GB, free: 12.86 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1613, allocations: 0 / 0.6398 GB, free: 12.86 MB / 494.1 MB Notification: Performance of Templates: time 0.002577/0.1638, allocations: 1.11 MB / 0.6409 GB, free: 11.75 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)