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.001017/0.001017, allocations: 109.1 kB / 16.41 MB, free: 6.516 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.0009688/0.0009688, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.233/1.233, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7421/0.7421, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 62.81 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1378, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002543/0.1403, allocations: 1.423 MB / 0.6667 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.1411, allocations: 483.6 kB / 0.6672 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.1412, allocations: 0 / 0.6672 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.1412, allocations: 4 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.1413, allocations: 3.938 kB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.1415, allocations: 23.91 kB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.1416, allocations: 19.98 kB / 0.6672 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.178e-05/0.1416, allocations: 8 kB / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.1417, allocations: 11.92 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.1417, allocations: 15.94 kB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1418, allocations: 0 / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.1418, allocations: 35.89 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.1419, allocations: 4 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.1419, allocations: 7.938 kB / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.932e-05/0.142, allocations: 31.89 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.142, allocations: 0 / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.142, allocations: 3.938 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.142, allocations: 0 / 0.6673 GB, free: 3.707 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.0004074/0.1424, allocations: 347.4 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1425, allocations: 9.109 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.1425, allocations: 0.9375 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1426, allocations: 168.4 kB / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1426, allocations: 384 / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.1427, allocations: 384 / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1428, allocations: 57.97 kB / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1428, allocations: 0 / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1429, allocations: 0 / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1429, allocations: 7.938 kB / 0.6679 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.143, allocations: 35.95 kB / 0.6679 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.1433, allocations: 252.8 kB / 0.6682 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1435, allocations: 38.59 kB / 0.6682 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.1436, allocations: 28.91 kB / 0.6682 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.1437, allocations: 85.09 kB / 0.6683 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1437, allocations: 30.56 kB / 0.6683 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1437, allocations: 0 / 0.6683 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.1441, allocations: 89.48 kB / 0.6684 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.1441, allocations: 51.53 kB / 0.6685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.1442, allocations: 101.9 kB / 0.6686 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1442, allocations: 29.7 kB / 0.6686 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.1443, allocations: 80.14 kB / 0.6687 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1443, allocations: 15.83 kB / 0.6687 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.1443, allocations: 13.72 kB / 0.6687 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.1444, allocations: 310.8 kB / 0.669 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.1445, allocations: 15.98 kB / 0.669 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.1446, allocations: 23.97 kB / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1447, allocations: 37.08 kB / 0.6691 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1448, allocations: 7.938 kB / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.1449, allocations: 69.59 kB / 0.6692 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.145, allocations: 12.09 kB / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.145, allocations: 0 / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.145, allocations: 0 / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.1451, allocations: 4 kB / 0.6692 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1451, allocations: 7.984 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.1451, allocations: 3.938 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1452, allocations: 4 kB / 0.6692 GB, free: 1.566 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.04e-05/0.1452, allocations: 109.8 kB / 0.6693 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1453, allocations: 4 kB / 0.6693 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.1455, allocations: 80.7 kB / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1455, allocations: 0 / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1455, allocations: 0 / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.1455, allocations: 85.02 kB / 0.6695 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1456, allocations: 0 / 0.6695 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.1456, allocations: 11.92 kB / 0.6695 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.1457, allocations: 7.938 kB / 0.6695 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000223/0.1459, allocations: 145 kB / 0.6696 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002562/0.1462, allocations: 238.7 kB / 0.6698 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.532e-05/0.1463, allocations: 28.03 kB / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.1463, allocations: 79.28 kB / 0.6699 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of Backend: time 4.71e-07/0.1463, allocations: 0 / 0.6699 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.1467, allocations: 104.2 kB / 0.67 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004333/0.1472, allocations: 0.557 MB / 0.6706 GB, free: 16 kB / 0.4981 GB Notification: Performance of Templates: time 0.002668/0.1499, allocations: 0.6606 MB / 0.6712 GB, free: 15.36 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)