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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001091/0.001091, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7651/0.7651, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 66.58 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1295, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002439/0.1319, allocations: 1.431 MB / 0.6617 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.1328, allocations: 479.6 kB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.1329, allocations: 0 / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1329, allocations: 7.984 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.133, allocations: 3.938 kB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1332, allocations: 19.92 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.1333, allocations: 27.92 kB / 0.6622 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.1334, allocations: 11.98 kB / 0.6623 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.1334, allocations: 8 kB / 0.6623 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.1335, allocations: 15.92 kB / 0.6623 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1335, allocations: 3.984 kB / 0.6623 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.1336, allocations: 23.98 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1336, allocations: 3.984 kB / 0.6623 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.1336, allocations: 7.938 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.1337, allocations: 39.83 kB / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1338, allocations: 0 / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1338, allocations: 0 / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1338, allocations: 4 kB / 0.6624 GB, free: 8.203 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.0004231/0.1342, allocations: 343.4 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1342, allocations: 12.02 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.1343, allocations: 0.9375 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1344, allocations: 164.4 kB / 0.6629 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1344, allocations: 384 / 0.6629 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1344, allocations: 384 / 0.6629 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1346, allocations: 57.98 kB / 0.6629 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1346, allocations: 3.938 kB / 0.6629 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1346, allocations: 0 / 0.6629 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1347, allocations: 0 / 0.6629 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1348, allocations: 35.91 kB / 0.663 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.1351, allocations: 256.8 kB / 0.6632 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1353, allocations: 38.56 kB / 0.6632 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.1354, allocations: 24.89 kB / 0.6633 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.1355, allocations: 81.11 kB / 0.6633 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1355, allocations: 38.5 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1356, allocations: 0 / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/0.1359, allocations: 85.58 kB / 0.6635 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.136, allocations: 51.41 kB / 0.6635 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.136, allocations: 101.8 kB / 0.6636 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1361, allocations: 29.7 kB / 0.6636 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1361, allocations: 84.14 kB / 0.6637 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1361, allocations: 7.844 kB / 0.6637 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.1362, allocations: 13.72 kB / 0.6637 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1363, allocations: 323 kB / 0.664 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.1364, allocations: 11.98 kB / 0.664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.1365, allocations: 19.98 kB / 0.6641 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1366, allocations: 41 kB / 0.6641 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1366, allocations: 7.938 kB / 0.6641 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.1368, allocations: 65.73 kB / 0.6642 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1369, allocations: 9.719 kB / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1369, allocations: 0 / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1369, allocations: 0 / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.137, allocations: 7.984 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.137, allocations: 4 kB / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.137, allocations: 3.984 kB / 0.6642 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1371, allocations: 8 kB / 0.6642 GB, free: 6.07 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 6.585e-05/0.1371, allocations: 113.8 kB / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1372, allocations: 3.906 kB / 0.6643 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1374, allocations: 76.72 kB / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1374, allocations: 0 / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1374, allocations: 0 / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.1375, allocations: 89.03 kB / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1375, allocations: 0 / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.1376, allocations: 8.031 kB / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1376, allocations: 7.922 kB / 0.6645 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002549/0.1379, allocations: 144.9 kB / 0.6646 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002614/0.1381, allocations: 238.8 kB / 0.6649 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.809e-05/0.1382, allocations: 19.98 kB / 0.6649 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.1383, allocations: 87.27 kB / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of Backend: time 3.31e-07/0.1383, allocations: 0 / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.1387, allocations: 94.39 kB / 0.6651 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004985/0.1392, allocations: 0.5647 MB / 0.6656 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002749/0.142, allocations: 0.6779 MB / 0.6663 GB, free: 3.855 MB / 0.4981 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)