Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 183.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5097/0.5097, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008876/0.0008873, allocations: 92.19 kB / 427.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.000516, allocations: 11.98 kB / 0.4982 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 72.32 MB / 0.5689 GB, free: 1.906 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5207/0.7178, allocations: 101.9 MB / 0.6684 GB, free: 2.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.7181, allocations: 75.97 kB / 0.6685 GB, free: 2.445 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003269/0.7213, allocations: 1.125 MB / 0.6696 GB, free: 1.332 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.7214, allocations: 0 / 0.6696 GB, free: 1.332 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.7214, allocations: 3.938 kB / 0.6696 GB, free: 1.328 MB / 458.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.0003613/0.7218, allocations: 347.9 kB / 0.6699 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7218, allocations: 12.03 kB / 0.6699 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.7219, allocations: 3.953 kB / 0.6699 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.722, allocations: 163.1 kB / 0.6701 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.722, allocations: 4 kB / 0.6701 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.722, allocations: 0.875 kB / 0.6701 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.7222, allocations: 59.86 kB / 0.6701 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.7222, allocations: 0 / 0.6701 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.7223, allocations: 0 / 0.6701 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.7223, allocations: 0 / 0.6701 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.7224, allocations: 51.92 kB / 0.6702 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.7229, allocations: 276.7 kB / 0.6705 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.723, allocations: 42.56 kB / 0.6705 GB, free: 244 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.7232, allocations: 89.14 kB / 0.6706 GB, free: 136 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.7232, allocations: 30.56 kB / 0.6706 GB, free: 96 kB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7232, allocations: 0 / 0.6706 GB, free: 96 kB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003917/0.7236, allocations: 109.5 kB / 0.6707 GB, free: 15.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.7236, allocations: 51.41 kB / 0.6708 GB, free: 15.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.7237, allocations: 93.88 kB / 0.6709 GB, free: 15.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.7237, allocations: 25.7 kB / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.7238, allocations: 88.11 kB / 0.671 GB, free: 15.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.7238, allocations: 11.91 kB / 0.671 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.7238, allocations: 4.125 kB / 0.671 GB, free: 15.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.7239, allocations: 310.8 kB / 0.6713 GB, free: 15.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.724, allocations: 19.98 kB / 0.6713 GB, free: 15.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.7241, allocations: 20.53 kB / 0.6713 GB, free: 15.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/0.7242, allocations: 32.03 kB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7242, allocations: 0 / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002127/0.7244, allocations: 73.61 kB / 0.6714 GB, free: 15.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7244, allocations: 8.031 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7245, allocations: 3.938 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.7245, allocations: 7.984 kB / 0.6714 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.7246, allocations: 9.625 kB / 0.6714 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.7246, allocations: 7.891 kB / 0.6714 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.7247, allocations: 7.984 kB / 0.6715 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7247, allocations: 4 kB / 0.6715 GB, free: 15.18 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.7248, allocations: 109.8 kB / 0.6716 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.7248, allocations: 3.906 kB / 0.6716 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.7251, allocations: 80.78 kB / 0.6716 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7251, allocations: 3.984 kB / 0.6717 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7251, allocations: 8.031 kB / 0.6717 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7251, allocations: 3.953 kB / 0.6717 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.7253, allocations: 153.7 kB / 0.6718 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7253, allocations: 3.938 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.7254, allocations: 12.23 kB / 0.6718 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7254, allocations: 0 / 0.6718 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7254, allocations: 4 kB / 0.6718 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7254, allocations: 4 kB / 0.6718 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7254, allocations: 0 / 0.6718 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.7257, allocations: 175.5 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.7258, allocations: 77.11 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.7258, allocations: 4 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.7259, allocations: 12.02 kB / 0.6721 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.7259, allocations: 4 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7259, allocations: 4 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.726, allocations: 83.27 kB / 0.6722 GB, free: 14.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.726, allocations: 0 / 0.6722 GB, free: 14.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.7262, allocations: 8 kB / 0.6722 GB, free: 14.34 MB / 474.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 (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.0001993/0.7264, allocations: 107.1 kB / 0.6723 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.7266, allocations: 51.95 kB / 0.6723 GB, free: 14.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7266, allocations: 0 / 0.6723 GB, free: 14.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.7267, allocations: 24.05 kB / 0.6724 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.727, allocations: 8.797 kB / 0.6724 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.7273, allocations: 113.1 kB / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.7275, allocations: 0.6809 MB / 0.6731 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.7275, allocations: 0 / 0.6731 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.7276, allocations: 11.5 kB / 0.6731 GB, free: 13.28 MB / 474.7 MB Notification: Performance of SimCode: time 2.034e-06/0.7276, allocations: 0 / 0.6731 GB, free: 13.28 MB / 474.7 MB Notification: Performance of Templates: time 0.002353/0.7299, allocations: 484.2 kB / 0.6736 GB, free: 12.82 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)