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.001133/0.001133, allocations: 112.6 kB / 16.42 MB, free: 6.52 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.001057/0.001057, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.325/1.325, 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.8115/0.8115, allocations: 135.1 MB / 426.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.84 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1316, allocations: 80.94 MB / 0.6654 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001639/0.1333, allocations: 0.5798 MB / 0.6659 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1347, allocations: 1.111 MB / 0.667 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1347, allocations: 0 / 0.667 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1347, allocations: 0 / 0.667 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.135, allocations: 11.94 kB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.059e-06/0.135, allocations: 7.938 kB / 0.667 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.851e-05/0.135, allocations: 11.92 kB / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.1351, allocations: 4 kB / 0.667 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.342e-05/0.1351, allocations: 3.938 kB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.262e-05/0.1351, allocations: 3.984 kB / 0.6671 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.724e-06/0.1352, allocations: 0 / 0.6671 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1353, allocations: 23.92 kB / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-06/0.1353, allocations: 0 / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.1353, allocations: 3.938 kB / 0.6671 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.751e-05/0.1354, allocations: 15.97 kB / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1354, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1354, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1354, allocations: 4 kB / 0.6671 GB, free: 3.953 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.00026/0.1357, allocations: 319.5 kB / 0.6674 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1357, allocations: 9.109 kB / 0.6674 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1358, allocations: 4.938 kB / 0.6674 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.631e-05/0.1358, allocations: 160.4 kB / 0.6676 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1358, allocations: 384 / 0.6676 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1359, allocations: 4.375 kB / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/0.136, allocations: 41.94 kB / 0.6676 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.136, allocations: 0 / 0.6676 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.136, allocations: 8 kB / 0.6676 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.136, allocations: 4 kB / 0.6676 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.1361, allocations: 7.984 kB / 0.6676 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.1362, allocations: 153.6 kB / 0.6678 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1364, allocations: 34.55 kB / 0.6678 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.1364, allocations: 8.859 kB / 0.6678 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.1366, allocations: 85.19 kB / 0.6679 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1366, allocations: 46.44 kB / 0.6679 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1366, allocations: 0 / 0.6679 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004386/0.141, allocations: 0.5676 MB / 0.6685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.141, allocations: 51.41 kB / 0.6686 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.454e-05/0.1411, allocations: 89.86 kB / 0.6686 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1411, allocations: 25.7 kB / 0.6687 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.1411, allocations: 84.14 kB / 0.6687 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1412, allocations: 15.91 kB / 0.6688 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.1412, allocations: 21.7 kB / 0.6688 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.1413, allocations: 310.8 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.142, allocations: 83.95 kB / 0.6692 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.1426, allocations: 106.5 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.1438, allocations: 190.4 kB / 0.6694 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1439, allocations: 0 / 0.6694 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001327/0.1452, allocations: 221.5 kB / 0.6696 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1452, allocations: 7.938 kB / 0.6697 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1452, allocations: 3.938 kB / 0.6697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1452, allocations: 4 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.1457, allocations: 48 kB / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1457, allocations: 0 / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.1461, allocations: 44.39 kB / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1461, allocations: 4 kB / 0.6698 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 8.139e-05/0.1462, allocations: 115.1 kB / 0.6699 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.1462, allocations: 7.938 kB / 0.6699 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.1476, allocations: 237 kB / 0.6701 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1476, allocations: 3.984 kB / 0.6701 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1476, allocations: 3.984 kB / 0.6701 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1477, allocations: 77.11 kB / 0.6702 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1477, allocations: 4 kB / 0.6702 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.1481, allocations: 40.23 kB / 0.6702 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1481, allocations: 7.984 kB / 0.6702 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00162/0.1497, allocations: 324.8 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001315/0.1511, allocations: 382.7 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005873/0.1516, allocations: 91.89 kB / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.437e-05/0.1517, allocations: 75.28 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Backend: time 2.91e-07/0.1517, allocations: 0 / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009769/0.1527, allocations: 182.3 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0003355/0.153, allocations: 0.5409 MB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.003482/0.1565, allocations: 1.368 MB / 0.6731 GB, free: 13.43 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)