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.00104/0.00104, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001085/0.001085, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8014/0.8014, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.17 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002682/0.1422, allocations: 1.43 MB / 0.6667 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.1432, allocations: 479.6 kB / 0.6672 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.1433, allocations: 0 / 0.6672 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.1433, allocations: 0 / 0.6672 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.1434, allocations: 3.938 kB / 0.6672 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1436, allocations: 27.91 kB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.426e-05/0.1437, allocations: 31.92 kB / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.1438, allocations: 8 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.1439, allocations: 7.922 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.144, allocations: 11.94 kB / 0.6673 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.144, allocations: 4 kB / 0.6673 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.1441, allocations: 19.92 kB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.1441, allocations: 11.97 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.1442, allocations: 11.94 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1443, allocations: 27.84 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1443, allocations: 4 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.1443, allocations: 7.984 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.1444, allocations: 0 / 0.6673 GB, free: 3.723 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.0005057/0.1449, allocations: 339.4 kB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1449, allocations: 9.109 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.145, allocations: 4.938 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1451, allocations: 168.3 kB / 0.6678 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1451, allocations: 384 / 0.6678 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1452, allocations: 4.375 kB / 0.6678 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1454, allocations: 57.98 kB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1454, allocations: 7.938 kB / 0.6679 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1454, allocations: 0 / 0.6679 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1454, allocations: 3.938 kB / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.1457, allocations: 35.95 kB / 0.6679 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.1461, allocations: 248.9 kB / 0.6682 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1462, allocations: 42.55 kB / 0.6682 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1464, allocations: 24.91 kB / 0.6682 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.1465, allocations: 77.11 kB / 0.6683 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1466, allocations: 38.5 kB / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.963e-06/0.1466, allocations: 0 / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004559/0.147, allocations: 85.64 kB / 0.6684 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1471, allocations: 51.41 kB / 0.6685 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.1472, allocations: 101.8 kB / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1472, allocations: 25.7 kB / 0.6686 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1473, allocations: 84.14 kB / 0.6687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1473, allocations: 7.953 kB / 0.6687 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.1474, allocations: 17.83 kB / 0.6687 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1475, allocations: 314.8 kB / 0.669 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1476, allocations: 15.98 kB / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.1477, allocations: 11.98 kB / 0.669 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1479, allocations: 48.75 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.148, allocations: 8 kB / 0.6691 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002641/0.1482, allocations: 65.62 kB / 0.6692 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1483, allocations: 4 kB / 0.6692 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1483, allocations: 3.984 kB / 0.6692 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1483, allocations: 7.938 kB / 0.6692 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.1484, allocations: 4 kB / 0.6692 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1484, allocations: 3.984 kB / 0.6692 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.1485, allocations: 11.95 kB / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1485, allocations: 4 kB / 0.6692 GB, free: 1.582 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 8.276e-05/0.1486, allocations: 113.8 kB / 0.6693 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1486, allocations: 4 kB / 0.6693 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.1489, allocations: 72.72 kB / 0.6694 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.149, allocations: 7.969 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.149, allocations: 0 / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.149, allocations: 85.08 kB / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.149, allocations: 0 / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1491, allocations: 4 kB / 0.6695 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1492, allocations: 15.92 kB / 0.6695 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003097/0.1495, allocations: 144.9 kB / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003236/0.1499, allocations: 243 kB / 0.6698 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.15, allocations: 19.97 kB / 0.6699 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.15, allocations: 83.28 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of Backend: time 3.7e-07/0.15, allocations: 4 kB / 0.67 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005568/0.1506, allocations: 102.4 kB / 0.67 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004887/0.1511, allocations: 0.5531 MB / 0.6706 GB, free: 28 kB / 0.4981 GB Notification: Performance of Templates: time 0.00353/0.1547, allocations: 0.6549 MB / 0.6712 GB, free: 15.38 MB / 0.5137 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)