Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 110.8 kB / 16.38 MB, free: 6.004 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.001169/0.001169, allocations: 190.9 kB / 17.32 MB, free: 5.613 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.17/1.17, 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.7067/0.7067, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 70.73 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1252, allocations: 80.92 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001336/0.1265, allocations: 0.5837 MB / 0.6659 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1276, allocations: 1.115 MB / 0.6669 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.1276, allocations: 0 / 0.6669 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.1276, allocations: 0 / 0.6669 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1278, allocations: 27.86 kB / 0.667 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.1279, allocations: 0 / 0.667 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.384e-05/0.1279, allocations: 3.984 kB / 0.667 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.1279, allocations: 4 kB / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.085e-05/0.128, allocations: 0 / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.688e-05/0.128, allocations: 0 / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.128, allocations: 4 kB / 0.667 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.1281, allocations: 23.91 kB / 0.667 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.76e-06/0.1281, allocations: 11.92 kB / 0.667 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.041e-05/0.1281, allocations: 0 / 0.667 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.282e-05/0.1282, allocations: 11.98 kB / 0.667 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1282, allocations: 0 / 0.667 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1282, allocations: 0 / 0.667 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1282, allocations: 0 / 0.667 GB, free: 3.949 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.0002205/0.1284, allocations: 319.6 kB / 0.6673 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.1285, allocations: 9.109 kB / 0.6673 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1285, allocations: 0.9375 kB / 0.6673 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.1286, allocations: 164.4 kB / 0.6675 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1286, allocations: 12.31 kB / 0.6675 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1286, allocations: 4.312 kB / 0.6675 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.921e-05/0.1287, allocations: 34.02 kB / 0.6675 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1287, allocations: 7.984 kB / 0.6676 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1287, allocations: 3.984 kB / 0.6676 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1287, allocations: 0 / 0.6676 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.1288, allocations: 7.938 kB / 0.6676 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.1289, allocations: 153.7 kB / 0.6677 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.129, allocations: 34.52 kB / 0.6677 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.1291, allocations: 16.94 kB / 0.6678 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.1292, allocations: 81.11 kB / 0.6678 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1292, allocations: 34.5 kB / 0.6679 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1292, allocations: 0 / 0.6679 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.003974/0.1332, allocations: 0.5753 MB / 0.6684 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.1332, allocations: 51.41 kB / 0.6685 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.655e-05/0.1333, allocations: 89.86 kB / 0.6686 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1333, allocations: 29.7 kB / 0.6686 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/0.1333, allocations: 80.14 kB / 0.6687 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.1334, allocations: 19.78 kB / 0.6687 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1334, allocations: 17.72 kB / 0.6687 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.1335, allocations: 314.8 kB / 0.669 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.1341, allocations: 83.95 kB / 0.6691 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.1347, allocations: 106.5 kB / 0.6692 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.1358, allocations: 194.4 kB / 0.6694 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1358, allocations: 0 / 0.6694 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001192/0.137, allocations: 217.5 kB / 0.6696 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.137, allocations: 6.031 kB / 0.6696 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.137, allocations: 4 kB / 0.6696 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.137, allocations: 0 / 0.6696 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.1374, allocations: 48 kB / 0.6696 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1374, allocations: 4 kB / 0.6696 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.1378, allocations: 35.98 kB / 0.6697 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1378, allocations: 4 kB / 0.6697 GB, free: 0.9766 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 (5): * Single equations (assignments): 5 * 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 7.565e-05/0.1379, allocations: 123.1 kB / 0.6698 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.1379, allocations: 7.938 kB / 0.6698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.1392, allocations: 233.3 kB / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1392, allocations: 3.938 kB / 0.67 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1392, allocations: 0 / 0.67 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.1392, allocations: 4 kB / 0.67 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.1406, allocations: 466.2 kB / 0.6705 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1406, allocations: 0 / 0.6705 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.141, allocations: 51.97 kB / 0.6705 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.141, allocations: 0 / 0.6705 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.141, allocations: 0 / 0.6705 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.141, allocations: 4 kB / 0.6705 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.141, allocations: 0 / 0.6705 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.1422, allocations: 307.3 kB / 0.6708 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.1423, allocations: 81.11 kB / 0.6709 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1423, allocations: 3.938 kB / 0.6709 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.1426, allocations: 39.97 kB / 0.6709 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1427, allocations: 4.422 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1427, allocations: 4 kB / 0.671 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.43e-05/0.1427, allocations: 75.28 kB / 0.671 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1427, allocations: 0 / 0.671 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002347/0.1429, allocations: 12 kB / 0.671 GB, free: 15.48 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 (5): * Single equations (assignments): 5 * 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.0001213/0.1431, allocations: 107.2 kB / 0.6711 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.1442, allocations: 179.8 kB / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1443, allocations: 0 / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.1448, allocations: 100.1 kB / 0.6714 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.145, allocations: 0 / 0.6714 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1461, allocations: 242.9 kB / 0.6716 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.1463, allocations: 0.6768 MB / 0.6723 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.1463, allocations: 15.42 kB / 0.6723 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1463, allocations: 3.938 kB / 0.6723 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.002053/0.1484, allocations: 1.106 MB / 0.6734 GB, free: 12.98 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)