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.001194/0.001194, allocations: 103.8 kB / 16.46 MB, free: 6.629 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.001151/0.001151, allocations: 189.6 kB / 17.39 MB, free: 5.75 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.315/1.315, allocations: 225.6 MB / 243.8 MB, free: 14.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7901/0.7901, allocations: 137 MB / 433.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 58.31 kB / 0.6022 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1397, allocations: 85.44 MB / 0.6857 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002771/0.1425, allocations: 1.774 MB / 0.6874 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1436, allocations: 0.667 MB / 0.6881 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.1436, allocations: 0 / 0.6881 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.1437, allocations: 11.88 kB / 0.6881 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.1437, allocations: 19.8 kB / 0.6881 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.1442, allocations: 170.6 kB / 0.6883 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1444, allocations: 127.6 kB / 0.6884 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1445, allocations: 44.78 kB / 0.6884 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1447, allocations: 55.83 kB / 0.6885 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.1447, allocations: 47.72 kB / 0.6885 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.1448, allocations: 12 kB / 0.6885 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1449, allocations: 51.94 kB / 0.6886 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.1449, allocations: 23.92 kB / 0.6886 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.145, allocations: 59.7 kB / 0.6887 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1452, allocations: 151.4 kB / 0.6888 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1452, allocations: 0 / 0.6888 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1452, allocations: 7.938 kB / 0.6888 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.1452, allocations: 0 / 0.6888 GB, free: 3.582 MB / 0.5137 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.0005918/0.1458, allocations: 434.8 kB / 0.6892 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1458, allocations: 13.09 kB / 0.6892 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007522/0.1466, allocations: 116.7 kB / 0.6893 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1467, allocations: 176.3 kB / 0.6895 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.868e-05/0.1468, allocations: 63.95 kB / 0.6896 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1468, allocations: 8.375 kB / 0.6896 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.1473, allocations: 173.6 kB / 0.6897 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1473, allocations: 0 / 0.6897 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1473, allocations: 7.984 kB / 0.6898 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1473, allocations: 0 / 0.6898 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.1478, allocations: 155.8 kB / 0.6899 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1489, allocations: 0.4898 MB / 0.6904 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/0.1498, allocations: 214.3 kB / 0.6906 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.15, allocations: 76.91 kB / 0.6907 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.15, allocations: 4 kB / 0.6907 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1501, allocations: 34.56 kB / 0.6907 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1501, allocations: 0 / 0.6907 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0008934/0.151, allocations: 273.2 kB / 0.691 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.151, allocations: 55.41 kB / 0.691 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1511, allocations: 136.4 kB / 0.6911 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1511, allocations: 33.69 kB / 0.6912 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.1512, allocations: 104.2 kB / 0.6913 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1512, allocations: 19.86 kB / 0.6913 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.1513, allocations: 25.7 kB / 0.6913 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1514, allocations: 322.8 kB / 0.6916 GB, free: 480 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.1517, allocations: 71.92 kB / 0.6917 GB, free: 408 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.1519, allocations: 94.48 kB / 0.6918 GB, free: 304 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.1525, allocations: 170.4 kB / 0.6919 GB, free: 124 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1525, allocations: 0 / 0.6919 GB, free: 124 kB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00061/0.1531, allocations: 201.4 kB / 0.6921 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1531, allocations: 4 kB / 0.6921 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1531, allocations: 4 kB / 0.6921 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1531, allocations: 3.938 kB / 0.6921 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1534, allocations: 43.95 kB / 0.6922 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1534, allocations: 3.938 kB / 0.6922 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.1536, allocations: 31.86 kB / 0.6922 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1536, allocations: 7.984 kB / 0.6922 GB, free: 15.82 MB / 0.5294 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.84e-05/0.1537, allocations: 113.8 kB / 0.6923 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1537, allocations: 7.953 kB / 0.6923 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006244/0.1543, allocations: 206.2 kB / 0.6925 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1543, allocations: 3.938 kB / 0.6925 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1543, allocations: 4.375 kB / 0.6926 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1543, allocations: 4 kB / 0.6926 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.1546, allocations: 234.5 kB / 0.6928 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1546, allocations: 0 / 0.6928 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.1548, allocations: 35.95 kB / 0.6928 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1548, allocations: 0 / 0.6928 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1548, allocations: 3.938 kB / 0.6928 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1548, allocations: 0 / 0.6928 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1548, allocations: 0 / 0.6928 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.1554, allocations: 287.3 kB / 0.6931 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.1555, allocations: 85.06 kB / 0.6932 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1555, allocations: 7.922 kB / 0.6932 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.1558, allocations: 35.95 kB / 0.6932 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.1558, allocations: 4 kB / 0.6932 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1558, allocations: 7.984 kB / 0.6932 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.1559, allocations: 109.6 kB / 0.6933 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1559, allocations: 0 / 0.6933 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002558/0.1562, allocations: 31.92 kB / 0.6934 GB, free: 14.57 MB / 0.5294 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.0001136/0.1563, allocations: 95.25 kB / 0.6935 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005883/0.1569, allocations: 155.8 kB / 0.6936 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1569, allocations: 0 / 0.6936 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.1572, allocations: 87.98 kB / 0.6937 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1575, allocations: 12 kB / 0.6937 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.1581, allocations: 280.9 kB / 0.694 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1584, allocations: 0.6963 MB / 0.6946 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.1585, allocations: 27.42 kB / 0.6947 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1585, allocations: 0 / 0.6947 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of Templates: time 0.003138/0.1616, allocations: 1.601 MB / 0.6962 GB, free: 11.56 MB / 0.5294 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)