Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 108.2 kB / 16.41 MB, free: 6.516 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.001115/0.001115, allocations: 187.9 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7772/0.7772, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 69.47 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1283, allocations: 80.21 MB / 0.6603 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002869/0.1312, allocations: 1.77 MB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1323, allocations: 0.667 MB / 0.6627 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.1324, allocations: 0 / 0.6627 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.1324, allocations: 11.86 kB / 0.6627 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.1325, allocations: 19.8 kB / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.1331, allocations: 175.6 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1333, allocations: 119.6 kB / 0.663 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1334, allocations: 45.09 kB / 0.6631 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1335, allocations: 67.77 kB / 0.6631 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.1336, allocations: 47.77 kB / 0.6632 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1337, allocations: 8 kB / 0.6632 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1338, allocations: 47.97 kB / 0.6632 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.1338, allocations: 31.89 kB / 0.6633 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.1339, allocations: 59.72 kB / 0.6633 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1341, allocations: 151.5 kB / 0.6635 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1341, allocations: 0 / 0.6635 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1341, allocations: 0 / 0.6635 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1341, allocations: 0 / 0.6635 GB, free: 6.988 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005716/0.1347, allocations: 431 kB / 0.6639 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1348, allocations: 8.031 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/0.1356, allocations: 112.7 kB / 0.664 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1358, allocations: 188 kB / 0.6642 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.1358, allocations: 63.97 kB / 0.6642 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1359, allocations: 4.375 kB / 0.6642 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.1364, allocations: 177.7 kB / 0.6644 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1364, allocations: 0 / 0.6644 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1365, allocations: 3.938 kB / 0.6644 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1365, allocations: 4 kB / 0.6644 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.1371, allocations: 163.8 kB / 0.6646 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1382, allocations: 481.7 kB / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1392, allocations: 214.3 kB / 0.6652 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.1395, allocations: 88.91 kB / 0.6653 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1396, allocations: 0 / 0.6653 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1396, allocations: 38.5 kB / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1396, allocations: 0 / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001039/0.1407, allocations: 269.4 kB / 0.6656 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.1407, allocations: 51.41 kB / 0.6657 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1408, allocations: 139.7 kB / 0.6658 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1408, allocations: 25.7 kB / 0.6658 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.1409, allocations: 112.2 kB / 0.6659 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.141, allocations: 23.73 kB / 0.666 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.141, allocations: 25.7 kB / 0.666 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.1411, allocations: 318.8 kB / 0.6663 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.1414, allocations: 71.91 kB / 0.6664 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.1418, allocations: 94.5 kB / 0.6664 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.1424, allocations: 162.4 kB / 0.6666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1424, allocations: 0 / 0.6666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006848/0.1431, allocations: 205.4 kB / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1431, allocations: 4 kB / 0.6668 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1431, allocations: 4.062 kB / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1431, allocations: 3.938 kB / 0.6668 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1434, allocations: 39.94 kB / 0.6668 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1434, allocations: 0 / 0.6668 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1436, allocations: 23.88 kB / 0.6669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1436, allocations: 4 kB / 0.6669 GB, free: 3.258 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.728e-05/0.1438, allocations: 129.8 kB / 0.667 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.1438, allocations: 11.84 kB / 0.667 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.1445, allocations: 206.2 kB / 0.6672 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1445, allocations: 7.938 kB / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1445, allocations: 0 / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1446, allocations: 81.39 kB / 0.6673 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1446, allocations: 4 kB / 0.6673 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.145, allocations: 31.95 kB / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.145, allocations: 11.98 kB / 0.6673 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008771/0.1459, allocations: 288.7 kB / 0.6676 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007313/0.1466, allocations: 362.5 kB / 0.668 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003041/0.1469, allocations: 79.91 kB / 0.668 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.147, allocations: 108.9 kB / 0.6681 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of Backend: time 4.61e-07/0.147, allocations: 0 / 0.6681 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.1477, allocations: 186.6 kB / 0.6683 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0005769/0.1483, allocations: 0.6335 MB / 0.6689 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.004832/0.1532, allocations: 2.274 MB / 0.6712 GB, free: 14.77 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)