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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008722/0.000872, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.723/0.723, allocations: 130.7 MB / 138.7 MB, free: 3.527 MB / 106.7 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: 221.5 MB / 391.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009309/0.0009308, allocations: 95.55 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.181e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4893, allocations: 81.58 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.6424, allocations: 110.8 MB / 0.7363 GB, free: 12 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.6427, allocations: 72.05 kB / 0.7364 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003327/0.6461, allocations: 1.103 MB / 0.7375 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6461, allocations: 3.938 kB / 0.7375 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.6461, allocations: 4 kB / 0.7375 GB, free: 14.83 MB / 0.5261 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.0003881/0.6465, allocations: 334.5 kB / 0.7378 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6466, allocations: 8.031 kB / 0.7378 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.6466, allocations: 7.906 kB / 0.7378 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.6468, allocations: 164.8 kB / 0.738 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.6468, allocations: 0 / 0.738 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.6468, allocations: 7.984 kB / 0.738 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.049e-05/0.6469, allocations: 8 kB / 0.738 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.466e-05/0.647, allocations: 41.64 kB / 0.738 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.647, allocations: 0 / 0.738 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.647, allocations: 4 kB / 0.738 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.647, allocations: 0 / 0.738 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.6474, allocations: 247.1 kB / 0.7383 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.6475, allocations: 26.58 kB / 0.7383 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.6475, allocations: 9.859 kB / 0.7383 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.6477, allocations: 89.09 kB / 0.7384 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.6477, allocations: 30.56 kB / 0.7384 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.6477, allocations: 0 / 0.7384 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002544/0.648, allocations: 49.62 kB / 0.7385 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.648, allocations: 55.41 kB / 0.7385 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.6481, allocations: 97.03 kB / 0.7386 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.6481, allocations: 25.7 kB / 0.7386 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.6482, allocations: 88.03 kB / 0.7387 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.6482, allocations: 3.938 kB / 0.7387 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.6482, allocations: 7.938 kB / 0.7387 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6483, allocations: 318.8 kB / 0.739 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.6484, allocations: 4 kB / 0.739 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.6484, allocations: 4 kB / 0.739 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.6485, allocations: 16.05 kB / 0.7391 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6485, allocations: 0 / 0.7391 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001349/0.6486, allocations: 57.53 kB / 0.7391 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6487, allocations: 7.984 kB / 0.7391 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6487, allocations: 0 / 0.7391 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6487, allocations: 3.938 kB / 0.7391 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.6488, allocations: 8 kB / 0.7391 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6488, allocations: 4 kB / 0.7391 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.6489, allocations: 12.27 kB / 0.7392 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.6489, allocations: 0 / 0.7392 GB, free: 12.91 MB / 0.5261 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.649, allocations: 110.6 kB / 0.7393 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.649, allocations: 4 kB / 0.7393 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.6492, allocations: 57.42 kB / 0.7393 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.6492, allocations: 0 / 0.7393 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6492, allocations: 4 kB / 0.7393 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6492, allocations: 0 / 0.7393 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.6494, allocations: 146.2 kB / 0.7395 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6494, allocations: 0 / 0.7395 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.6494, allocations: 11.94 kB / 0.7395 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6494, allocations: 3.984 kB / 0.7395 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.6495, allocations: 3.984 kB / 0.7395 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.6495, allocations: 0 / 0.7395 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6495, allocations: 0 / 0.7395 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.6497, allocations: 147.5 kB / 0.7396 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.6497, allocations: 85.06 kB / 0.7397 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.6497, allocations: 0 / 0.7397 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.6498, allocations: 7.984 kB / 0.7397 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.6499, allocations: 8 kB / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.6499, allocations: 0 / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.6499, allocations: 83.27 kB / 0.7398 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6499, allocations: 0 / 0.7398 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002132/0.6501, allocations: 12.03 kB / 0.7398 GB, free: 12.16 MB / 0.5261 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 () * 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 (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.0001585/0.6503, allocations: 95.25 kB / 0.7399 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.6504, allocations: 19.94 kB / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6504, allocations: 0 / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.6504, allocations: 8 kB / 0.7399 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.6506, allocations: 7.938 kB / 0.7399 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.6509, allocations: 68 kB / 0.74 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.6511, allocations: 0.6768 MB / 0.7407 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.6512, allocations: 7.984 kB / 0.7407 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.6512, allocations: 7.438 kB / 0.7407 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.6512, allocations: 0 / 0.7407 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.002293/0.6535, allocations: 450.3 kB / 0.7411 GB, free: 10.78 MB / 0.5261 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)