Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.00106/0.00106, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7811/0.7811, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 64.12 kB / 0.5067 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3465, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002427/0.349, allocations: 1.431 MB / 0.5872 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.3496, allocations: 477 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.3497, allocations: 1.344 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.3497, allocations: 4.719 kB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.518e-05/0.3498, allocations: 3.938 kB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.35, allocations: 24.52 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.3501, allocations: 22.58 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.3502, allocations: 8.406 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.3502, allocations: 16.05 kB / 0.5877 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.3503, allocations: 18.56 kB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3503, allocations: 2.688 kB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.3504, allocations: 18.58 kB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.3504, allocations: 0 / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.3504, allocations: 11.59 kB / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/0.3505, allocations: 37.09 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3505, allocations: 0.5 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3505, allocations: 1.188 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3506, allocations: 0.625 kB / 0.5878 GB, free: 23.96 MB / 446.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.0003444/0.3509, allocations: 345 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3509, allocations: 9.922 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.351, allocations: 3 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/0.3511, allocations: 171.1 kB / 0.5883 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.3511, allocations: 1.281 kB / 0.5883 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.3511, allocations: 1.719 kB / 0.5883 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3513, allocations: 55.64 kB / 0.5883 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3513, allocations: 0 / 0.5883 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3513, allocations: 3.938 kB / 0.5883 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3513, allocations: 2.406 kB / 0.5883 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.3514, allocations: 34.48 kB / 0.5884 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.3517, allocations: 260 kB / 0.5886 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3518, allocations: 40.78 kB / 0.5887 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.3519, allocations: 19.47 kB / 0.5887 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.352, allocations: 83.72 kB / 0.5888 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3521, allocations: 41.75 kB / 0.5888 GB, free: 22.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3521, allocations: 0 / 0.5888 GB, free: 22.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003167/0.3524, allocations: 82.64 kB / 0.5889 GB, free: 22.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.3524, allocations: 52.5 kB / 0.5889 GB, free: 22.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.3525, allocations: 100.3 kB / 0.589 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.3525, allocations: 26.27 kB / 0.5891 GB, free: 22.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.3525, allocations: 89.91 kB / 0.5891 GB, free: 22.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3525, allocations: 5.281 kB / 0.5891 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3526, allocations: 13.38 kB / 0.5892 GB, free: 22.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.3526, allocations: 316.3 kB / 0.5895 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.3527, allocations: 14.48 kB / 0.5895 GB, free: 22.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.3528, allocations: 22.25 kB / 0.5895 GB, free: 22.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3529, allocations: 41.27 kB / 0.5895 GB, free: 22.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3529, allocations: 5.469 kB / 0.5895 GB, free: 22.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001626/0.3531, allocations: 73.12 kB / 0.5896 GB, free: 22.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3531, allocations: 4.719 kB / 0.5896 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3531, allocations: 5.438 kB / 0.5896 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3531, allocations: 0 / 0.5896 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.3532, allocations: 11.8 kB / 0.5896 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3532, allocations: 6.391 kB / 0.5896 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.3533, allocations: 2.781 kB / 0.5896 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.3533, allocations: 5.25 kB / 0.5896 GB, free: 22.05 MB / 446.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 4.28e-05/0.3533, allocations: 112.2 kB / 0.5897 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.3534, allocations: 6.141 kB / 0.5898 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.3536, allocations: 77.12 kB / 0.5898 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3536, allocations: 0 / 0.5898 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3536, allocations: 2.219 kB / 0.5898 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3536, allocations: 0 / 0.5898 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3537, allocations: 162.8 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3537, allocations: 0.875 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.3538, allocations: 10.17 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3538, allocations: 1.219 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3538, allocations: 1.219 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3538, allocations: 0 / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3538, allocations: 2.75 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.354, allocations: 163.3 kB / 0.5902 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.354, allocations: 87.41 kB / 0.5902 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.354, allocations: 1.156 kB / 0.5902 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.3541, allocations: 5.375 kB / 0.5902 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3541, allocations: 9.172 kB / 0.5903 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3541, allocations: 1.25 kB / 0.5903 GB, free: 21.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.3542, allocations: 86.31 kB / 0.5903 GB, free: 21.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3542, allocations: 4.656 kB / 0.5903 GB, free: 21.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.3544, allocations: 8.688 kB / 0.5904 GB, free: 21.32 MB / 446.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.0001231/0.3545, allocations: 97.91 kB / 0.5904 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.3547, allocations: 37.05 kB / 0.5905 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3547, allocations: 0.5 kB / 0.5905 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.3548, allocations: 20.48 kB / 0.5905 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3551, allocations: 17.3 kB / 0.5905 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.3553, allocations: 100.1 kB / 0.5906 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.578e-05/0.3554, allocations: 0.6805 MB / 0.5913 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.3555, allocations: 0 / 0.5913 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.3555, allocations: 8.938 kB / 0.5913 GB, free: 20.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3555, allocations: 0 / 0.5913 GB, free: 20.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002383/0.3579, allocations: 0.5645 MB / 0.5918 GB, free: 19.98 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)