Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001463/0.001463, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001069/0.001069, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.385, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002564/0.3876, allocations: 1.43 MB / 0.5829 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000777/0.3884, allocations: 481 kB / 0.5834 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.3884, allocations: 1.781 kB / 0.5834 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.3885, allocations: 3.938 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.3886, allocations: 0.6875 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.3888, allocations: 22.45 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.3889, allocations: 27.52 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.389, allocations: 10.95 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.3891, allocations: 8.984 kB / 0.5834 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.3891, allocations: 14.17 kB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3891, allocations: 3.719 kB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.3892, allocations: 22.3 kB / 0.5835 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3892, allocations: 4 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.3893, allocations: 15.3 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3894, allocations: 28.73 kB / 0.5835 GB, free: 25.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3894, allocations: 2.406 kB / 0.5835 GB, free: 25.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3894, allocations: 0 / 0.5835 GB, free: 25.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3894, allocations: 0 / 0.5835 GB, free: 25.97 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.0004071/0.3898, allocations: 341.2 kB / 0.5838 GB, free: 25.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3899, allocations: 10.09 kB / 0.5838 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.3899, allocations: 6 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.39, allocations: 174.6 kB / 0.584 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.39, allocations: 2.969 kB / 0.584 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.39, allocations: 1.688 kB / 0.584 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3902, allocations: 58.95 kB / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3902, allocations: 3.938 kB / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3902, allocations: 1.469 kB / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3902, allocations: 0 / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.3904, allocations: 32.62 kB / 0.5841 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.3907, allocations: 251.1 kB / 0.5844 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3908, allocations: 43.27 kB / 0.5844 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.3909, allocations: 22.41 kB / 0.5844 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.391, allocations: 85.22 kB / 0.5845 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3911, allocations: 37.31 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3911, allocations: 0 / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003177/0.3914, allocations: 87.02 kB / 0.5846 GB, free: 24.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3914, allocations: 52.22 kB / 0.5847 GB, free: 24.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.3915, allocations: 105.1 kB / 0.5848 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.3915, allocations: 25.7 kB / 0.5848 GB, free: 24.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.3915, allocations: 81.98 kB / 0.5849 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3915, allocations: 15.97 kB / 0.5849 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.3916, allocations: 16 kB / 0.5849 GB, free: 24.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.3916, allocations: 311.8 kB / 0.5852 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.3917, allocations: 20.91 kB / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.3918, allocations: 15.27 kB / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3919, allocations: 43.98 kB / 0.5853 GB, free: 24.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3919, allocations: 1.781 kB / 0.5853 GB, free: 24.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001625/0.3921, allocations: 64.94 kB / 0.5853 GB, free: 24.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3921, allocations: 6.156 kB / 0.5853 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3921, allocations: 1.781 kB / 0.5853 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3922, allocations: 0.7188 kB / 0.5853 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.3922, allocations: 13.17 kB / 0.5854 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3923, allocations: 7.562 kB / 0.5854 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.3923, allocations: 2.969 kB / 0.5854 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3923, allocations: 5.422 kB / 0.5854 GB, free: 24.07 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 5.227e-05/0.3924, allocations: 111.1 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3924, allocations: 7.906 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.3926, allocations: 67.03 kB / 0.5855 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3926, allocations: 1.438 kB / 0.5856 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3926, allocations: 2.031 kB / 0.5856 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3926, allocations: 3.938 kB / 0.5856 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.3928, allocations: 162.8 kB / 0.5857 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3928, allocations: 0 / 0.5857 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.3928, allocations: 5.688 kB / 0.5857 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3928, allocations: 2 kB / 0.5857 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3928, allocations: 5.016 kB / 0.5857 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3929, allocations: 0 / 0.5857 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3929, allocations: 5.094 kB / 0.5857 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3931, allocations: 169.3 kB / 0.5859 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3931, allocations: 80.3 kB / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3931, allocations: 1.125 kB / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.3932, allocations: 2.562 kB / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.3932, allocations: 10.33 kB / 0.586 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3932, allocations: 1 kB / 0.586 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.338e-05/0.3933, allocations: 79.22 kB / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3933, allocations: 2.156 kB / 0.5861 GB, free: 23.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.3935, allocations: 9.25 kB / 0.5861 GB, free: 23.34 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.0001461/0.3936, allocations: 105.2 kB / 0.5862 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3939, allocations: 43.59 kB / 0.5862 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3939, allocations: 0 / 0.5862 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.394, allocations: 18.48 kB / 0.5862 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3943, allocations: 20.42 kB / 0.5862 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.3945, allocations: 111 kB / 0.5864 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.3947, allocations: 0.6745 MB / 0.587 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.551e-05/0.3947, allocations: 8.828 kB / 0.587 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3947, allocations: 14.44 kB / 0.587 GB, free: 22.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3948, allocations: 0 / 0.587 GB, free: 22.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002617/0.3974, allocations: 0.541 MB / 0.5876 GB, free: 22.13 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)