Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001325/0.001325, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.764/0.764, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 64.38 kB / 0.5863 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 80.92 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002531/0.1389, allocations: 1.422 MB / 0.6667 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007538/0.1397, allocations: 483.6 kB / 0.6672 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.1397, allocations: 0 / 0.6672 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.1397, allocations: 0 / 0.6672 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.1398, allocations: 7.922 kB / 0.6672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.14, allocations: 23.92 kB / 0.6672 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.1401, allocations: 19.92 kB / 0.6672 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.1402, allocations: 11.94 kB / 0.6672 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.1403, allocations: 7.984 kB / 0.6672 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.1403, allocations: 19.92 kB / 0.6672 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1404, allocations: 4 kB / 0.6672 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.989e-05/0.1404, allocations: 27.97 kB / 0.6673 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.1405, allocations: 0 / 0.6673 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1405, allocations: 11.94 kB / 0.6673 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1406, allocations: 39.81 kB / 0.6673 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1406, allocations: 0 / 0.6673 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1406, allocations: 0 / 0.6673 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1406, allocations: 0 / 0.6673 GB, free: 3.824 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.000419/0.1411, allocations: 347.4 kB / 0.6677 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1411, allocations: 9.109 kB / 0.6677 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.1411, allocations: 4.938 kB / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1413, allocations: 160.4 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1413, allocations: 4.359 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.1413, allocations: 4.375 kB / 0.6678 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1415, allocations: 49.98 kB / 0.6679 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1415, allocations: 7.938 kB / 0.6679 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1415, allocations: 0 / 0.6679 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1415, allocations: 4 kB / 0.6679 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.1417, allocations: 39.89 kB / 0.6679 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.142, allocations: 248.9 kB / 0.6682 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1421, allocations: 34.56 kB / 0.6682 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.978e-05/0.1422, allocations: 24.91 kB / 0.6682 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.1424, allocations: 85.09 kB / 0.6683 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1424, allocations: 30.56 kB / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1424, allocations: 0 / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003249/0.1427, allocations: 89.48 kB / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1428, allocations: 59.53 kB / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.1428, allocations: 97.86 kB / 0.6686 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1429, allocations: 25.7 kB / 0.6686 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.1429, allocations: 92.12 kB / 0.6687 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.1429, allocations: 7.844 kB / 0.6687 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.143, allocations: 9.719 kB / 0.6687 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1431, allocations: 314.8 kB / 0.669 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.1431, allocations: 19.98 kB / 0.669 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.1432, allocations: 19.97 kB / 0.669 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1434, allocations: 40.77 kB / 0.6691 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1434, allocations: 3.938 kB / 0.6691 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.1436, allocations: 69.72 kB / 0.6691 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1436, allocations: 5.875 kB / 0.6692 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1436, allocations: 4.188 kB / 0.6692 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1436, allocations: 4 kB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.1437, allocations: 11.98 kB / 0.6692 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1437, allocations: 0 / 0.6692 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.1438, allocations: 4 kB / 0.6692 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1438, allocations: 0 / 0.6692 GB, free: 1.691 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.139e-05/0.1438, allocations: 121.8 kB / 0.6693 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1439, allocations: 4.031 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.1441, allocations: 72.72 kB / 0.6694 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1441, allocations: 0 / 0.6694 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1441, allocations: 0 / 0.6694 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1441, allocations: 3.938 kB / 0.6694 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1443, allocations: 161.6 kB / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1443, allocations: 0 / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1443, allocations: 12 kB / 0.6695 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1443, allocations: 4.031 kB / 0.6695 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1443, allocations: 0 / 0.6695 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1443, allocations: 0 / 0.6695 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1444, allocations: 3.984 kB / 0.6695 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.1446, allocations: 163.3 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.1446, allocations: 85.09 kB / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1446, allocations: 4.031 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.1447, allocations: 8 kB / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1448, allocations: 3.984 kB / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1448, allocations: 0 / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.1448, allocations: 79.28 kB / 0.6699 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1448, allocations: 0 / 0.6699 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002129/0.145, allocations: 8 kB / 0.6699 GB, free: 0.8672 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.0001341/0.1452, allocations: 112.6 kB / 0.67 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.1454, allocations: 35.97 kB / 0.67 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1454, allocations: 0 / 0.67 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.1455, allocations: 15.98 kB / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1458, allocations: 15.86 kB / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.146, allocations: 135.3 kB / 0.6702 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1463, allocations: 0.6767 MB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.1463, allocations: 11.44 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.1463, allocations: 0 / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.002046/0.1484, allocations: 0.6625 MB / 0.6715 GB, free: 15.14 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)