Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.138/1.138, allocations: 175.7 MB / 480.2 MB, free: 3.188 MB / 366.1 MB " [Timeout remaining time 179] 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 69.27 kB / 0.6684 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2611, allocations: 94.53 MB / 0.7607 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002815/0.2639, allocations: 0.6045 MB / 0.7613 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.2666, allocations: 1.115 MB / 0.7624 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.2666, allocations: 0 / 0.7624 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.2666, allocations: 0 / 0.7624 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.267, allocations: 19.91 kB / 0.7624 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 5.18e-06/0.267, allocations: 7.938 kB / 0.7624 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.2671, allocations: 8 kB / 0.7625 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.578e-05/0.2672, allocations: 4 kB / 0.7625 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.2672, allocations: 0 / 0.7625 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.2672, allocations: 3.938 kB / 0.7625 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.2672, allocations: 0 / 0.7625 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.2674, allocations: 23.91 kB / 0.7625 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.2674, allocations: 4 kB / 0.7625 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.2675, allocations: 0 / 0.7625 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2676, allocations: 15.92 kB / 0.7625 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2676, allocations: 4 kB / 0.7625 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2676, allocations: 0 / 0.7625 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.2676, allocations: 0 / 0.7625 GB, free: 14.47 MB / 0.5762 GB 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.0004768/0.2681, allocations: 323.5 kB / 0.7628 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2681, allocations: 8.031 kB / 0.7628 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.2682, allocations: 4.938 kB / 0.7628 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2684, allocations: 164.4 kB / 0.763 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2684, allocations: 384 / 0.763 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.2684, allocations: 8.328 kB / 0.763 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2686, allocations: 41.95 kB / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2686, allocations: 0 / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2686, allocations: 4 kB / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2686, allocations: 0 / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.2687, allocations: 11.92 kB / 0.763 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.2689, allocations: 157.7 kB / 0.7632 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.2692, allocations: 26.58 kB / 0.7632 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.2693, allocations: 8.953 kB / 0.7632 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.2695, allocations: 97.02 kB / 0.7633 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.2696, allocations: 34.5 kB / 0.7634 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.2696, allocations: 0 / 0.7634 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.007751/0.2773, allocations: 0.5677 MB / 0.7639 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.2774, allocations: 51.41 kB / 0.764 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.2775, allocations: 89.86 kB / 0.764 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.2775, allocations: 29.7 kB / 0.7641 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.2776, allocations: 80.14 kB / 0.7641 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2777, allocations: 27.78 kB / 0.7642 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2778, allocations: 13.72 kB / 0.7642 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002831/0.2781, allocations: 314.8 kB / 0.7645 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.2792, allocations: 88 kB / 0.7646 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.2803, allocations: 106.5 kB / 0.7647 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.2824, allocations: 186.4 kB / 0.7649 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2824, allocations: 0 / 0.7649 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002311/0.2848, allocations: 221.5 kB / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.2848, allocations: 4 kB / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2848, allocations: 3.984 kB / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.2848, allocations: 0 / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.2855, allocations: 52 kB / 0.7651 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.2855, allocations: 0 / 0.7651 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.2861, allocations: 43.92 kB / 0.7652 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.2861, allocations: 4 kB / 0.7652 GB, free: 11.49 MB / 0.5762 GB 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 (5): * Single equations (assignments): 5 * 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 0.0001859/0.2863, allocations: 113.8 kB / 0.7653 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.2864, allocations: 7.922 kB / 0.7653 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.2888, allocations: 237.1 kB / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2888, allocations: 0 / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2888, allocations: 0 / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.2888, allocations: 0 / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.2915, allocations: 454.4 kB / 0.7659 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2915, allocations: 4 kB / 0.7659 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.2922, allocations: 47.97 kB / 0.766 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2922, allocations: 4 kB / 0.766 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.2922, allocations: 4 kB / 0.766 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2922, allocations: 256 / 0.766 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2922, allocations: 0 / 0.766 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.2946, allocations: 315.3 kB / 0.7663 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.2947, allocations: 77.11 kB / 0.7664 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.2947, allocations: 7.938 kB / 0.7664 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.2954, allocations: 39.97 kB / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.2954, allocations: 4 kB / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.2954, allocations: 4 kB / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.2955, allocations: 75.28 kB / 0.7665 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2955, allocations: 0 / 0.7665 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000471/0.296, allocations: 12 kB / 0.7665 GB, free: 10 MB / 0.5762 GB 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 (5): * Single equations (assignments): 5 * 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.0003046/0.2963, allocations: 111.2 kB / 0.7666 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.2987, allocations: 183.8 kB / 0.7668 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2987, allocations: 0 / 0.7668 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.2998, allocations: 92.06 kB / 0.7669 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3002, allocations: 4 kB / 0.7669 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.3023, allocations: 217 kB / 0.7671 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.3028, allocations: 0.6729 MB / 0.7677 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.3032, allocations: 32.23 kB / 0.7678 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3033, allocations: 15.44 kB / 0.7678 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/0.3033, allocations: 0 / 0.7678 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of Templates: time 0.006528/0.3098, allocations: 0.8232 MB / 0.7686 GB, free: 7.801 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.378508678637445]