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.004799/0.004799, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001078/0.001078, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.923/0.923, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 67.89 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4686, allocations: 80.9 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002234/0.4709, allocations: 1.442 MB / 0.666 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007431/0.4716, allocations: 468.7 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.4717, allocations: 1.156 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.4717, allocations: 3.938 kB / 0.6665 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.4718, allocations: 5.5 kB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.472, allocations: 22.44 kB / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.472, allocations: 26.7 kB / 0.6666 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.4721, allocations: 2.188 kB / 0.6666 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.4722, allocations: 23.27 kB / 0.6666 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.4723, allocations: 11.73 kB / 0.6666 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.4723, allocations: 3.469 kB / 0.6666 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.539e-05/0.4723, allocations: 19.72 kB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.4724, allocations: 9.219 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.4724, allocations: 2.5 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.4725, allocations: 33.23 kB / 0.6667 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4725, allocations: 0 / 0.6667 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4725, allocations: 1.5 kB / 0.6667 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.4725, allocations: 0 / 0.6667 GB, free: 6.016 MB / 0.4981 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.0003894/0.4729, allocations: 344.7 kB / 0.667 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.473, allocations: 9.781 kB / 0.667 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.473, allocations: 10.31 kB / 0.667 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.4731, allocations: 169.7 kB / 0.6672 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4731, allocations: 5.594 kB / 0.6672 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.4731, allocations: 5.625 kB / 0.6672 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.4733, allocations: 50.36 kB / 0.6672 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4733, allocations: 0 / 0.6672 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4733, allocations: 11.94 kB / 0.6672 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4733, allocations: 0 / 0.6672 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.4735, allocations: 35.36 kB / 0.6673 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.4737, allocations: 250 kB / 0.6675 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.4739, allocations: 42.42 kB / 0.6675 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.4739, allocations: 27.75 kB / 0.6676 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.4741, allocations: 83.72 kB / 0.6677 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.4741, allocations: 31.97 kB / 0.6677 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4741, allocations: 0 / 0.6677 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003098/0.4744, allocations: 88.7 kB / 0.6678 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.4744, allocations: 56.19 kB / 0.6678 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.4745, allocations: 100.6 kB / 0.6679 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-06/0.4745, allocations: 25.7 kB / 0.6679 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.4745, allocations: 85.34 kB / 0.668 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.4746, allocations: 6.891 kB / 0.668 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.4746, allocations: 16.22 kB / 0.668 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.4746, allocations: 312 kB / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.4747, allocations: 21.58 kB / 0.6684 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.4748, allocations: 16.94 kB / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4749, allocations: 40.45 kB / 0.6684 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4749, allocations: 0 / 0.6684 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000162/0.4751, allocations: 72.78 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4751, allocations: 11.22 kB / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4751, allocations: 0 / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4751, allocations: 1.188 kB / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.756e-05/0.4752, allocations: 10.2 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4752, allocations: 0 / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.4753, allocations: 3.688 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4753, allocations: 1.031 kB / 0.6685 GB, free: 4.09 MB / 0.4981 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 () * 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 4.669e-05/0.4753, allocations: 114.9 kB / 0.6686 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4754, allocations: 10.64 kB / 0.6686 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.4756, allocations: 69.84 kB / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4756, allocations: 1.25 kB / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4756, allocations: 256 / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4756, allocations: 0 / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.4757, allocations: 162.9 kB / 0.6689 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4757, allocations: 3.984 kB / 0.6689 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.4758, allocations: 14.47 kB / 0.6689 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4758, allocations: 1.312 kB / 0.6689 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4758, allocations: 0 / 0.6689 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4758, allocations: 0 / 0.6689 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4758, allocations: 1.312 kB / 0.6689 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.476, allocations: 170.7 kB / 0.669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.476, allocations: 86.47 kB / 0.6691 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.476, allocations: 0 / 0.6691 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.4761, allocations: 3.656 kB / 0.6691 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.4762, allocations: 5.422 kB / 0.6691 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.4762, allocations: 1.094 kB / 0.6691 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.4762, allocations: 82.91 kB / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4762, allocations: 1.219 kB / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002215/0.4764, allocations: 9 kB / 0.6692 GB, free: 3.34 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.0001262/0.4765, allocations: 103.8 kB / 0.6693 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.4768, allocations: 41.08 kB / 0.6694 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4768, allocations: 0 / 0.6694 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.4769, allocations: 19.36 kB / 0.6694 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.4771, allocations: 15.3 kB / 0.6694 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.4774, allocations: 111.9 kB / 0.6695 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.4775, allocations: 0.6781 MB / 0.6702 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.4775, allocations: 1.281 kB / 0.6702 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.4776, allocations: 8.719 kB / 0.6702 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.4776, allocations: 0 / 0.6702 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of Templates: time 0.002449/0.48, allocations: 0.5604 MB / 0.6707 GB, free: 2.09 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)