Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001521/0.001521, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.00172/0.00172, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8162/0.8162, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 66 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1343, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002885/0.1372, allocations: 1.767 MB / 0.667 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1384, allocations: 0.6631 MB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.1385, allocations: 3.938 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.1385, allocations: 11.86 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.1386, allocations: 19.81 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.1392, allocations: 166.1 kB / 0.6679 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1394, allocations: 123.6 kB / 0.668 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1395, allocations: 56.83 kB / 0.668 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1397, allocations: 59.84 kB / 0.6681 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.1398, allocations: 51.75 kB / 0.6682 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.1398, allocations: 16 kB / 0.6682 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1399, allocations: 43.97 kB / 0.6682 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.14, allocations: 31.89 kB / 0.6682 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.14, allocations: 59.66 kB / 0.6683 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1402, allocations: 143.5 kB / 0.6684 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1403, allocations: 0 / 0.6684 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1403, allocations: 3.938 kB / 0.6684 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1403, allocations: 0 / 0.6684 GB, free: 2.566 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.0005862/0.1409, allocations: 431.1 kB / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1409, allocations: 9.109 kB / 0.6689 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008776/0.1418, allocations: 112.6 kB / 0.669 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1419, allocations: 192.1 kB / 0.6691 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.142, allocations: 67.97 kB / 0.6692 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1421, allocations: 4.375 kB / 0.6692 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.1426, allocations: 173.6 kB / 0.6694 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1427, allocations: 0 / 0.6694 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1427, allocations: 11.94 kB / 0.6694 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1427, allocations: 0 / 0.6694 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.1433, allocations: 155.8 kB / 0.6695 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.1445, allocations: 477.7 kB / 0.67 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1455, allocations: 226.2 kB / 0.6702 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.1459, allocations: 80.91 kB / 0.6703 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1459, allocations: 3.984 kB / 0.6703 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1459, allocations: 34.56 kB / 0.6703 GB, free: 464 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1459, allocations: 0 / 0.6703 GB, free: 464 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001065/0.147, allocations: 265.6 kB / 0.6706 GB, free: 192 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1471, allocations: 55.34 kB / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1472, allocations: 147.7 kB / 0.6708 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.1473, allocations: 29.7 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.1473, allocations: 104.2 kB / 0.6709 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1474, allocations: 23.73 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.1474, allocations: 21.7 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1476, allocations: 318.8 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.1479, allocations: 79.91 kB / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.1482, allocations: 90.5 kB / 0.6714 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.1488, allocations: 166.4 kB / 0.6716 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1488, allocations: 0 / 0.6716 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006836/0.1495, allocations: 205.4 kB / 0.6718 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1495, allocations: 5.875 kB / 0.6718 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1496, allocations: 4 kB / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1496, allocations: 3.938 kB / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1498, allocations: 35.94 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1499, allocations: 4 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.1501, allocations: 31.88 kB / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1501, allocations: 4 kB / 0.6719 GB, free: 14.82 MB / 0.5137 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 0.0001046/0.1502, allocations: 113.8 kB / 0.672 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.1503, allocations: 15.83 kB / 0.672 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.151, allocations: 214 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.151, allocations: 3.938 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.151, allocations: 0 / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.151, allocations: 4 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1513, allocations: 230.5 kB / 0.6724 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1513, allocations: 0 / 0.6724 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.1515, allocations: 35.94 kB / 0.6724 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1516, allocations: 4 kB / 0.6724 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1516, allocations: 4.125 kB / 0.6724 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1516, allocations: 4 kB / 0.6725 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1516, allocations: 0 / 0.6725 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.1523, allocations: 287.2 kB / 0.6727 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1524, allocations: 85.02 kB / 0.6728 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1524, allocations: 7.938 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.1527, allocations: 27.95 kB / 0.6728 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1528, allocations: 7.984 kB / 0.6728 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1528, allocations: 7.984 kB / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.1529, allocations: 109.5 kB / 0.673 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1529, allocations: 4 kB / 0.673 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002682/0.1531, allocations: 23.91 kB / 0.673 GB, free: 13.55 MB / 0.5137 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 (6): * Single equations (assignments): 6 * 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.0001311/0.1533, allocations: 96.58 kB / 0.6731 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.154, allocations: 171.8 kB / 0.6732 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.154, allocations: 0 / 0.6732 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.1543, allocations: 79.91 kB / 0.6733 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1547, allocations: 11.38 kB / 0.6733 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.1553, allocations: 289.2 kB / 0.6736 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1556, allocations: 0.6963 MB / 0.6743 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.1557, allocations: 15.44 kB / 0.6743 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1557, allocations: 0 / 0.6743 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.003146/0.1589, allocations: 1.606 MB / 0.6759 GB, free: 10.54 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)