Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008853/0.0008853, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6661/0.6661, allocations: 132.4 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 10.16 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3216, allocations: 81.58 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001409/0.323, allocations: 1.445 MB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.3238, allocations: 0.6231 MB / 0.5851 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.3238, allocations: 1.062 kB / 0.5851 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.3238, allocations: 7.188 kB / 0.5851 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.3239, allocations: 15.16 kB / 0.5851 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.3243, allocations: 141.6 kB / 0.5853 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.3245, allocations: 108.6 kB / 0.5854 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3246, allocations: 39.44 kB / 0.5854 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.3247, allocations: 45.42 kB / 0.5854 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.3248, allocations: 43.98 kB / 0.5855 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3248, allocations: 4 kB / 0.5855 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.3249, allocations: 41.81 kB / 0.5855 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.3249, allocations: 23.17 kB / 0.5855 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.3249, allocations: 39.67 kB / 0.5856 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.3251, allocations: 94.62 kB / 0.5857 GB, free: 2.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3251, allocations: 0.6562 kB / 0.5857 GB, free: 2.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3251, allocations: 0.5156 kB / 0.5857 GB, free: 2.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.3251, allocations: 0 / 0.5857 GB, free: 2.223 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004234/0.3255, allocations: 425.4 kB / 0.5861 GB, free: 1.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.3256, allocations: 8.406 kB / 0.5861 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.3263, allocations: 139.9 kB / 0.5862 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.3264, allocations: 183.7 kB / 0.5864 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.3265, allocations: 70.17 kB / 0.5865 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3265, allocations: 9.438 kB / 0.5865 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.3269, allocations: 188 kB / 0.5867 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.327, allocations: 0 / 0.5867 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.327, allocations: 5.484 kB / 0.5867 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.327, allocations: 2.062 kB / 0.5867 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.3275, allocations: 194.6 kB / 0.5868 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.3284, allocations: 0.4963 MB / 0.5873 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/0.3293, allocations: 281.5 kB / 0.5876 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.3296, allocations: 100.1 kB / 0.5877 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3296, allocations: 2.094 kB / 0.5877 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.3296, allocations: 36.5 kB / 0.5877 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3296, allocations: 0 / 0.5877 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009237/0.3305, allocations: 317.2 kB / 0.588 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.3306, allocations: 56.44 kB / 0.5881 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.3307, allocations: 140 kB / 0.5882 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3307, allocations: 30.77 kB / 0.5883 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.3307, allocations: 110 kB / 0.5884 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3308, allocations: 16.03 kB / 0.5884 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.3308, allocations: 0 / 0.5884 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.3308, allocations: 320.7 kB / 0.5887 GB, free: 180 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.3311, allocations: 93 kB / 0.5888 GB, free: 160 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.3314, allocations: 113 kB / 0.5889 GB, free: 116 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.3317, allocations: 90.44 kB / 0.589 GB, free: 96 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3317, allocations: 0 / 0.589 GB, free: 96 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005833/0.3323, allocations: 236.5 kB / 0.5892 GB, free: 16 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3323, allocations: 5.672 kB / 0.5892 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3323, allocations: 1.094 kB / 0.5892 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3323, allocations: 2.141 kB / 0.5892 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.3325, allocations: 50.38 kB / 0.5892 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3326, allocations: 1.5 kB / 0.5892 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3328, allocations: 45.83 kB / 0.5893 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.3328, allocations: 7.828 kB / 0.5893 GB, free: 15.98 MB / 446.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 (8): * Single equations (assignments): 8 * 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.265e-05/0.3329, allocations: 119.4 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.3329, allocations: 7.984 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.3336, allocations: 243.4 kB / 0.5896 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3336, allocations: 5.422 kB / 0.5897 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3336, allocations: 0 / 0.5897 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3336, allocations: 1.203 kB / 0.5897 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.3338, allocations: 232.8 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3339, allocations: 0.6562 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.3341, allocations: 43 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3341, allocations: 5.375 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3341, allocations: 2.719 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3341, allocations: 0 / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3341, allocations: 1.875 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.3347, allocations: 324.3 kB / 0.5902 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.3348, allocations: 88.81 kB / 0.5903 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3348, allocations: 0.9688 kB / 0.5903 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.3351, allocations: 41.38 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3351, allocations: 11.98 kB / 0.5904 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.3351, allocations: 7.781 kB / 0.5904 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.3352, allocations: 104.9 kB / 0.5905 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3352, allocations: 0.5 kB / 0.5905 GB, free: 15.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.3355, allocations: 35.52 kB / 0.5905 GB, free: 15.16 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 (6): * Single equations (assignments): 6 * 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.000104/0.3356, allocations: 94.66 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.3362, allocations: 203.3 kB / 0.5908 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3362, allocations: 0 / 0.5908 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.3364, allocations: 100.6 kB / 0.5909 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.3367, allocations: 9.781 kB / 0.5909 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.3373, allocations: 293.4 kB / 0.5912 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.3375, allocations: 0.7034 MB / 0.5919 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.111e-05/0.3376, allocations: 15.55 kB / 0.5919 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.3377, allocations: 13.02 kB / 0.5919 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3377, allocations: 0.6875 kB / 0.5919 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Templates: time 0.00337/0.341, allocations: 1.311 MB / 0.5932 GB, free: 14 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)