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.0009557/0.0009557, allocations: 113.1 kB / 16.39 MB, free: 6.438 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.0009466/0.0009466, allocations: 190.2 kB / 17.32 MB, free: 5.762 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.161/1.161, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7089/0.7089, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 71.22 kB / 0.5862 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1236, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002121/0.1258, allocations: 1.457 MB / 0.6667 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003299/0.1261, allocations: 148.4 kB / 0.6668 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.1261, allocations: 7.938 kB / 0.6668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.1262, allocations: 3.938 kB / 0.6668 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.1263, allocations: 3.938 kB / 0.6668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1264, allocations: 27.91 kB / 0.6669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.1265, allocations: 43.84 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1266, allocations: 27.98 kB / 0.6669 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.1267, allocations: 19.92 kB / 0.6669 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.1267, allocations: 15.92 kB / 0.667 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1268, allocations: 4 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.1268, allocations: 31.97 kB / 0.667 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.1269, allocations: 12 kB / 0.667 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1269, allocations: 23.86 kB / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.127, allocations: 63.8 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.127, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.127, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.127, allocations: 0 / 0.6671 GB, free: 3.938 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.0003804/0.1274, allocations: 359.3 kB / 0.6674 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1274, allocations: 13.11 kB / 0.6674 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.1284, allocations: 216.5 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.1285, allocations: 168.3 kB / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1285, allocations: 384 / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1286, allocations: 8.375 kB / 0.6678 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.1291, allocations: 197.9 kB / 0.668 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1291, allocations: 192 / 0.668 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1291, allocations: 7.938 kB / 0.668 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1291, allocations: 4 kB / 0.668 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.1299, allocations: 279.6 kB / 0.6683 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.1307, allocations: 436.9 kB / 0.6687 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1317, allocations: 290.1 kB / 0.669 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.1321, allocations: 104.8 kB / 0.6691 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1321, allocations: 0 / 0.6691 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1321, allocations: 34.56 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.1321, allocations: 0 / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001071/0.1332, allocations: 317.2 kB / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1332, allocations: 51.41 kB / 0.6695 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.1333, allocations: 125.8 kB / 0.6696 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1333, allocations: 29.64 kB / 0.6696 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1334, allocations: 88.14 kB / 0.6697 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1334, allocations: 7.844 kB / 0.6697 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.1334, allocations: 25.7 kB / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.1335, allocations: 318.8 kB / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1339, allocations: 91.88 kB / 0.6701 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.1342, allocations: 99.86 kB / 0.6702 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.1348, allocations: 168.6 kB / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1348, allocations: 0 / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006793/0.1355, allocations: 225.3 kB / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1355, allocations: 5.719 kB / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1356, allocations: 0 / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1356, allocations: 0 / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.1358, allocations: 35.94 kB / 0.6706 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1358, allocations: 4 kB / 0.6706 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.136, allocations: 27.95 kB / 0.6707 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.136, allocations: 0 / 0.6707 GB, free: 52 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 8.264e-05/0.1361, allocations: 121.8 kB / 0.6708 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1361, allocations: 7.906 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1362, allocations: 7.906 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1362, allocations: 4 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1362, allocations: 4 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1362, allocations: 0 / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1364, allocations: 213.5 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1364, allocations: 0 / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.1366, allocations: 31.94 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1366, allocations: 4 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1367, allocations: 0 / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1367, allocations: 3.938 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1367, allocations: 0 / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.1374, allocations: 311.2 kB / 0.6713 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.1374, allocations: 85 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1375, allocations: 0 / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.1377, allocations: 31.95 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.1377, allocations: 11.94 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1377, allocations: 0 / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.1378, allocations: 95.58 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1378, allocations: 0 / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002203/0.138, allocations: 12 kB / 0.6716 GB, free: 15.03 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 (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 Backend phase and start with SimCode phase: time 9.545e-05/0.1381, allocations: 104.5 kB / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.1388, allocations: 199.7 kB / 0.6719 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1388, allocations: 0 / 0.6719 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.1392, allocations: 108.3 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1394, allocations: 0 / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.1402, allocations: 291 kB / 0.6722 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.1404, allocations: 0.6963 MB / 0.6729 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.1405, allocations: 11.44 kB / 0.6729 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1405, allocations: 0 / 0.6729 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.002152/0.1426, allocations: 1.172 MB / 0.6741 GB, free: 12.39 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)