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.001141/0.001142, allocations: 97.44 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 177.5 kB / 16.57 MB, free: 6.863 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.34/1.34, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6581/0.6581, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.000299, allocations: 17.56 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 77.15 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005961/0.1371, allocations: 304.1 kB / 0.5571 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1382, allocations: 1.064 MB / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.1382, allocations: 7.875 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.468e-06/0.1383, allocations: 0 / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1385, allocations: 23.91 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.044e-06/0.1385, allocations: 0 / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.724e-05/0.1385, allocations: 4 kB / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1385, allocations: 4 kB / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.1386, allocations: 0 / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.198e-05/0.1386, allocations: 3.984 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1386, allocations: 0 / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.1387, allocations: 19.92 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-06/0.1387, allocations: 0 / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.1387, allocations: 29.7 kB / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.969e-05/0.1388, allocations: 11.97 kB / 0.5583 GB, free: 10.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1388, allocations: 4 kB / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1388, allocations: 0 / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1388, allocations: 4 kB / 0.5583 GB, free: 10.16 MB / 430.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.0002131/0.139, allocations: 311.4 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1391, allocations: 16.03 kB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.265e-05/0.1391, allocations: 0 / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.1392, allocations: 159.1 kB / 0.5588 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1392, allocations: 0 / 0.5588 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1392, allocations: 7.984 kB / 0.5588 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.085e-05/0.1393, allocations: 41.62 kB / 0.5588 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1393, allocations: 3.953 kB / 0.5588 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1393, allocations: 4 kB / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1393, allocations: 0 / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.1394, allocations: 4 kB / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.1395, allocations: 153.7 kB / 0.559 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1397, allocations: 30.61 kB / 0.559 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.1398, allocations: 81.11 kB / 0.5591 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1398, allocations: 42.5 kB / 0.5591 GB, free: 9.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1398, allocations: 0 / 0.5591 GB, free: 9.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004106/0.1439, allocations: 0.5795 MB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.144, allocations: 51.41 kB / 0.5597 GB, free: 8.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.402e-05/0.144, allocations: 89.86 kB / 0.5598 GB, free: 8.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1441, allocations: 25.7 kB / 0.5598 GB, free: 8.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.1441, allocations: 80.14 kB / 0.5599 GB, free: 8.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1441, allocations: 19.8 kB / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.1442, allocations: 0 / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.1443, allocations: 314.8 kB / 0.5602 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.1449, allocations: 83.95 kB / 0.5603 GB, free: 7.867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.1454, allocations: 98.53 kB / 0.5604 GB, free: 7.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.146, allocations: 91.89 kB / 0.5605 GB, free: 7.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.146, allocations: 0 / 0.5605 GB, free: 7.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001221/0.1473, allocations: 209.6 kB / 0.5607 GB, free: 7.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1473, allocations: 6.344 kB / 0.5607 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1473, allocations: 4.062 kB / 0.5607 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1473, allocations: 4 kB / 0.5607 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.1477, allocations: 59.86 kB / 0.5608 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1477, allocations: 4 kB / 0.5608 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.1482, allocations: 39.97 kB / 0.5608 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1482, allocations: 4 kB / 0.5608 GB, free: 7.344 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1483, allocations: 105.8 kB / 0.5609 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1484, allocations: 7.938 kB / 0.5609 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.1498, allocations: 237 kB / 0.5611 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1498, allocations: 0 / 0.5611 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1498, allocations: 11.89 kB / 0.5611 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1498, allocations: 3.984 kB / 0.5612 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.1513, allocations: 446.5 kB / 0.5616 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1513, allocations: 0 / 0.5616 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.1517, allocations: 51.97 kB / 0.5616 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1517, allocations: 0 / 0.5616 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1517, allocations: 3.953 kB / 0.5616 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.1517, allocations: 3.938 kB / 0.5616 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1517, allocations: 0 / 0.5616 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.1529, allocations: 308.2 kB / 0.5619 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.153, allocations: 77.11 kB / 0.562 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.153, allocations: 4 kB / 0.562 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.1534, allocations: 43.94 kB / 0.562 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.1534, allocations: 7.969 kB / 0.5621 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1534, allocations: 4 kB / 0.5621 GB, free: 5.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.334e-05/0.1534, allocations: 75.28 kB / 0.5621 GB, free: 5.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1534, allocations: 0 / 0.5621 GB, free: 5.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1537, allocations: 12 kB / 0.5621 GB, free: 5.863 MB / 430.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 (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.0001486/0.1538, allocations: 111.9 kB / 0.5623 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.1551, allocations: 183.9 kB / 0.5624 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1551, allocations: 0 / 0.5624 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005728/0.1557, allocations: 88.08 kB / 0.5625 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1558, allocations: 0 / 0.5625 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1568, allocations: 222.8 kB / 0.5627 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1571, allocations: 0.6848 MB / 0.5634 GB, free: 4.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.1573, allocations: 31.98 kB / 0.5634 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.1574, allocations: 11.44 kB / 0.5634 GB, free: 4.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1574, allocations: 3.938 kB / 0.5634 GB, free: 4.477 MB / 430.1 MB Notification: Performance of Templates: time 0.002517/0.1599, allocations: 0.7815 MB / 0.5642 GB, free: 3.703 MB / 430.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)