Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") 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: 105.5 kB / 16.41 MB, free: 6.492 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.001284/0.001284, allocations: 192.3 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.241/1.241, allocations: 222.9 MB / 241.1 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.7554/0.7554, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 68.5 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1276, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002532/0.1302, allocations: 1.454 MB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000399/0.1306, allocations: 148.4 kB / 0.6669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.1307, allocations: 0 / 0.6669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.756e-05/0.1307, allocations: 3.938 kB / 0.6669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.1308, allocations: 7.922 kB / 0.6669 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1311, allocations: 31.91 kB / 0.6669 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.806e-05/0.1312, allocations: 35.92 kB / 0.6669 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1313, allocations: 27.91 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.1313, allocations: 12 kB / 0.667 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.1314, allocations: 31.84 kB / 0.667 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1314, allocations: 4 kB / 0.667 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.1315, allocations: 27.98 kB / 0.667 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1315, allocations: 11.98 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.1315, allocations: 15.88 kB / 0.6671 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1317, allocations: 63.84 kB / 0.6671 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1317, allocations: 0 / 0.6671 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1317, allocations: 0 / 0.6671 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1317, allocations: 4 kB / 0.6671 GB, free: 3.898 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004032/0.1321, allocations: 367.2 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1322, allocations: 9.109 kB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.1332, allocations: 212.5 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1333, allocations: 172.3 kB / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1333, allocations: 4.375 kB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1333, allocations: 4.375 kB / 0.6679 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.1339, allocations: 198 kB / 0.6681 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1339, allocations: 192 / 0.6681 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1339, allocations: 3.938 kB / 0.6681 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1339, allocations: 4 kB / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.1347, allocations: 279.6 kB / 0.6683 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.1356, allocations: 436.9 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.1367, allocations: 294.2 kB / 0.669 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.137, allocations: 100.8 kB / 0.6691 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1371, allocations: 0 / 0.6691 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1371, allocations: 42.55 kB / 0.6692 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1371, allocations: 3.938 kB / 0.6692 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001121/0.1382, allocations: 309.2 kB / 0.6695 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.1383, allocations: 51.41 kB / 0.6695 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.1384, allocations: 117.8 kB / 0.6696 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1384, allocations: 33.7 kB / 0.6697 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.1384, allocations: 92.12 kB / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1384, allocations: 7.844 kB / 0.6698 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.1385, allocations: 13.72 kB / 0.6698 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1386, allocations: 322.8 kB / 0.6701 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.139, allocations: 91.88 kB / 0.6702 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.1393, allocations: 99.88 kB / 0.6703 GB, free: 492 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.1399, allocations: 176.6 kB / 0.6704 GB, free: 312 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1399, allocations: 0 / 0.6704 GB, free: 312 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006985/0.1406, allocations: 217.3 kB / 0.6706 GB, free: 88 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1407, allocations: 4 kB / 0.6706 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1407, allocations: 0 / 0.6706 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1407, allocations: 4 kB / 0.6706 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1409, allocations: 35.94 kB / 0.6707 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.141, allocations: 0 / 0.6707 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1411, allocations: 31.95 kB / 0.6707 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1412, allocations: 0 / 0.6707 GB, free: 12 kB / 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 (3): * Single equations (assignments): 3 * 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.69e-05/0.1413, allocations: 121.8 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.1413, allocations: 11.91 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1413, allocations: 11.84 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1414, allocations: 4 kB / 0.6709 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1414, allocations: 0 / 0.6709 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.1414, allocations: 81.09 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1414, allocations: 0 / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1417, allocations: 35.89 kB / 0.671 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.1417, allocations: 0 / 0.671 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008946/0.1426, allocations: 320.7 kB / 0.6713 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007618/0.1434, allocations: 390.8 kB / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003339/0.1437, allocations: 95.91 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.1438, allocations: 103.6 kB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Backend: time 5.41e-07/0.1438, allocations: 0 / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006842/0.1445, allocations: 186.6 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004449/0.1449, allocations: 0.5794 MB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.003673/0.1486, allocations: 1.688 MB / 0.6742 GB, free: 12.3 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)