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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001118/0.001119, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9693/0.9693, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 68.52 kB / 0.5047 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.239, allocations: 80.92 MB / 0.5837 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.004453/0.2435, allocations: 1.486 MB / 0.5852 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.245, allocations: 471.8 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.2451, allocations: 0 / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.2452, allocations: 0 / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.2453, allocations: 7.922 kB / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2455, allocations: 15.98 kB / 0.5856 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.2455, allocations: 31.86 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.2456, allocations: 8 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.2457, allocations: 11.98 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.2458, allocations: 15.92 kB / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2458, allocations: 0 / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.2459, allocations: 23.92 kB / 0.5857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.2459, allocations: 3.984 kB / 0.5857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2459, allocations: 7.938 kB / 0.5857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.246, allocations: 31.89 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.246, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.246, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.246, allocations: 4 kB / 0.5858 GB, free: 2.848 MB / 494.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.0004383/0.2465, allocations: 339.7 kB / 0.5861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2465, allocations: 12.03 kB / 0.5861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.2466, allocations: 0.9375 kB / 0.5861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2467, allocations: 168.3 kB / 0.5863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2467, allocations: 4.375 kB / 0.5863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2467, allocations: 384 / 0.5863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.2469, allocations: 57.98 kB / 0.5863 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2469, allocations: 0 / 0.5863 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2469, allocations: 0 / 0.5863 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.247, allocations: 3.938 kB / 0.5863 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.2471, allocations: 35.95 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.2474, allocations: 248.9 kB / 0.5866 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2476, allocations: 42.59 kB / 0.5866 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.2477, allocations: 24.91 kB / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.2478, allocations: 85.09 kB / 0.5867 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2478, allocations: 34.5 kB / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2478, allocations: 0 / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003533/0.2482, allocations: 85.64 kB / 0.5868 GB, free: 1.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.2483, allocations: 51.41 kB / 0.5869 GB, free: 1.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.2483, allocations: 97.86 kB / 0.587 GB, free: 1.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2484, allocations: 29.7 kB / 0.587 GB, free: 1.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2484, allocations: 88.06 kB / 0.5871 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.2484, allocations: 7.906 kB / 0.5871 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.2485, allocations: 17.66 kB / 0.5871 GB, free: 1.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.2486, allocations: 315 kB / 0.5874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.2487, allocations: 15.98 kB / 0.5874 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.2488, allocations: 20.22 kB / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2489, allocations: 44.7 kB / 0.5875 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.249, allocations: 8 kB / 0.5875 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.2492, allocations: 69.62 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2492, allocations: 8 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2492, allocations: 0 / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2492, allocations: 0 / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.2493, allocations: 7.984 kB / 0.5876 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2493, allocations: 4 kB / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.2494, allocations: 3.938 kB / 0.5876 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2494, allocations: 8.016 kB / 0.5876 GB, free: 0.707 MB / 494.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 6.893e-05/0.2495, allocations: 113.8 kB / 0.5877 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2495, allocations: 3.984 kB / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.2497, allocations: 76.72 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2497, allocations: 0 / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2497, allocations: 0 / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2497, allocations: 0 / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.2499, allocations: 165.6 kB / 0.588 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2499, allocations: 0 / 0.588 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.25, allocations: 7.984 kB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.25, allocations: 3.984 kB / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.25, allocations: 0 / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.25, allocations: 4 kB / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.25, allocations: 0 / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.2502, allocations: 171.4 kB / 0.5881 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.2503, allocations: 85 kB / 0.5882 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.2503, allocations: 0 / 0.5882 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.2504, allocations: 4 kB / 0.5882 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.2504, allocations: 7.984 kB / 0.5882 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2505, allocations: 4 kB / 0.5882 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.2505, allocations: 83.28 kB / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2505, allocations: 3.938 kB / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002327/0.2507, allocations: 12.03 kB / 0.5883 GB, free: 15.88 MB / 0.4981 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 (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.0001373/0.2509, allocations: 99.25 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.2511, allocations: 39.95 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2511, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.2512, allocations: 19.92 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.2515, allocations: 19.98 kB / 0.5885 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.2518, allocations: 111.3 kB / 0.5886 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.252, allocations: 0.677 MB / 0.5893 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.2521, allocations: 0 / 0.5893 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.2521, allocations: 11.44 kB / 0.5893 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.2521, allocations: 0 / 0.5893 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.00273/0.2548, allocations: 485.4 kB / 0.5897 GB, free: 14.37 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)