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.001634/0.001634, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001424/0.001424, allocations: 192.2 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.48/1.48, 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.7907/0.7907, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4008, allocations: 80.19 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002606/0.4034, allocations: 1.775 MB / 0.5832 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000947/0.4044, allocations: 0.6574 MB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.4045, allocations: 1.281 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.4045, allocations: 11.86 kB / 0.5839 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.4046, allocations: 18.36 kB / 0.5839 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.4051, allocations: 172.9 kB / 0.5841 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.4053, allocations: 124.2 kB / 0.5842 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.4054, allocations: 55.25 kB / 0.5842 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.4055, allocations: 62.02 kB / 0.5843 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.4056, allocations: 49.7 kB / 0.5843 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.4056, allocations: 10.59 kB / 0.5844 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.4058, allocations: 47.06 kB / 0.5844 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.4058, allocations: 31.39 kB / 0.5844 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.4058, allocations: 61.42 kB / 0.5845 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.406, allocations: 143 kB / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.406, allocations: 0 / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.406, allocations: 0 / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.4061, allocations: 0 / 0.5846 GB, free: 25.18 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000514/0.4066, allocations: 440.3 kB / 0.585 GB, free: 24.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4066, allocations: 10.88 kB / 0.5851 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007634/0.4074, allocations: 113.3 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.4075, allocations: 187 kB / 0.5853 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.4076, allocations: 63.66 kB / 0.5854 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4076, allocations: 5.656 kB / 0.5854 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.4081, allocations: 178.4 kB / 0.5856 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4081, allocations: 0 / 0.5856 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.4081, allocations: 1.312 kB / 0.5856 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4081, allocations: 5.875 kB / 0.5856 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.4087, allocations: 163.4 kB / 0.5857 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.4096, allocations: 479.8 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.4105, allocations: 220.6 kB / 0.5864 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.4107, allocations: 79.66 kB / 0.5865 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.4108, allocations: 2.75 kB / 0.5865 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.4108, allocations: 36.03 kB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4108, allocations: 0 / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009262/0.4117, allocations: 267.9 kB / 0.5868 GB, free: 23.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4118, allocations: 52.62 kB / 0.5868 GB, free: 23.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4119, allocations: 140.8 kB / 0.587 GB, free: 23.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.4119, allocations: 25.7 kB / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.412, allocations: 110.9 kB / 0.5871 GB, free: 23.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.412, allocations: 22.3 kB / 0.5871 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.412, allocations: 26.52 kB / 0.5871 GB, free: 23.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.4121, allocations: 317.4 kB / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.4124, allocations: 74.47 kB / 0.5875 GB, free: 22.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4127, allocations: 93.75 kB / 0.5876 GB, free: 22.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.4132, allocations: 162 kB / 0.5878 GB, free: 22.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4132, allocations: 0 / 0.5878 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000602/0.4138, allocations: 204.8 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4138, allocations: 8.969 kB / 0.588 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4138, allocations: 5.344 kB / 0.588 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4139, allocations: 9.453 kB / 0.588 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.4141, allocations: 38.12 kB / 0.588 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.4141, allocations: 2 kB / 0.588 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.4143, allocations: 25.38 kB / 0.588 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4143, allocations: 3.844 kB / 0.588 GB, free: 22.42 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.484e-05/0.4144, allocations: 123.9 kB / 0.5882 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.4145, allocations: 13.11 kB / 0.5882 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.4151, allocations: 217.2 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4151, allocations: 1.469 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4151, allocations: 0 / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4151, allocations: 1.906 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.4153, allocations: 226 kB / 0.5886 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4153, allocations: 1.594 kB / 0.5886 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.4156, allocations: 35.66 kB / 0.5886 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4156, allocations: 5.125 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4156, allocations: 9.125 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4156, allocations: 1.375 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4156, allocations: 2.406 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.4162, allocations: 279.6 kB / 0.5889 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.4162, allocations: 84.95 kB / 0.589 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.4163, allocations: 5.25 kB / 0.589 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.4165, allocations: 34.98 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.4166, allocations: 6.609 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4166, allocations: 7.891 kB / 0.589 GB, free: 21.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.4167, allocations: 104.2 kB / 0.5891 GB, free: 21.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4167, allocations: 0 / 0.5891 GB, free: 21.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.4169, allocations: 25.16 kB / 0.5892 GB, free: 21.45 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 (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.0001087/0.417, allocations: 103.6 kB / 0.5893 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.4176, allocations: 159.9 kB / 0.5894 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4176, allocations: 0 / 0.5894 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.4179, allocations: 88.97 kB / 0.5895 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4183, allocations: 7.656 kB / 0.5895 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.4189, allocations: 260.7 kB / 0.5898 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.419, allocations: 0.699 MB / 0.5904 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.4191, allocations: 13.59 kB / 0.5905 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.4192, allocations: 11.94 kB / 0.5905 GB, free: 20.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4192, allocations: 0 / 0.5905 GB, free: 20.33 MB / 446.1 MB Notification: Performance of Templates: time 0.003414/0.4226, allocations: 1.479 MB / 0.5919 GB, free: 19.18 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)