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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6968/0.6968, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 222.9 MB / 404.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 95.64 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1344, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002914/0.1374, allocations: 1.524 MB / 0.6436 GB, free: 3.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004628/0.1379, allocations: 153.7 kB / 0.6438 GB, free: 3.742 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.1379, allocations: 0 / 0.6438 GB, free: 3.742 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.138, allocations: 3.938 kB / 0.6438 GB, free: 3.738 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.1381, allocations: 4 kB / 0.6438 GB, free: 3.734 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.1383, allocations: 27.91 kB / 0.6438 GB, free: 3.707 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1384, allocations: 35.92 kB / 0.6438 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1386, allocations: 27.97 kB / 0.6439 GB, free: 3.645 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.1386, allocations: 11.94 kB / 0.6439 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.1387, allocations: 19.92 kB / 0.6439 GB, free: 3.613 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1387, allocations: 0 / 0.6439 GB, free: 3.613 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1388, allocations: 31.97 kB / 0.6439 GB, free: 3.582 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.1388, allocations: 15.92 kB / 0.6439 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1389, allocations: 15.88 kB / 0.644 GB, free: 3.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.139, allocations: 63.78 kB / 0.644 GB, free: 3.488 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1391, allocations: 4 kB / 0.644 GB, free: 3.484 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1391, allocations: 0 / 0.644 GB, free: 3.484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1391, allocations: 0 / 0.644 GB, free: 3.484 MB / 442.7 MB 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.0005398/0.1396, allocations: 363.6 kB / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1397, allocations: 8.031 kB / 0.6444 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.1407, allocations: 208.5 kB / 0.6446 GB, free: 2.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1409, allocations: 172.2 kB / 0.6447 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1409, allocations: 8.375 kB / 0.6447 GB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1409, allocations: 4.312 kB / 0.6448 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.1415, allocations: 202 kB / 0.6449 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1415, allocations: 192 / 0.6449 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1416, allocations: 3.938 kB / 0.6449 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1416, allocations: 0 / 0.6449 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.1424, allocations: 279.6 kB / 0.6452 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.1433, allocations: 441.3 kB / 0.6456 GB, free: 1.688 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.1444, allocations: 290.1 kB / 0.6459 GB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.1448, allocations: 100.8 kB / 0.646 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1449, allocations: 0 / 0.646 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1449, allocations: 30.56 kB / 0.646 GB, free: 1.254 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.1449, allocations: 4 kB / 0.646 GB, free: 1.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.00118/0.1461, allocations: 313.2 kB / 0.6463 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1461, allocations: 59.41 kB / 0.6464 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.1462, allocations: 113.8 kB / 0.6465 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1462, allocations: 25.7 kB / 0.6465 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.1463, allocations: 92.14 kB / 0.6466 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1463, allocations: 11.83 kB / 0.6466 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.1464, allocations: 13.72 kB / 0.6466 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1465, allocations: 326.8 kB / 0.647 GB, free: 268 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.1469, allocations: 95.88 kB / 0.647 GB, free: 172 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.1472, allocations: 95.88 kB / 0.6471 GB, free: 76 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.1479, allocations: 168.6 kB / 0.6473 GB, free: 15.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1479, allocations: 384 / 0.6473 GB, free: 15.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007629/0.1487, allocations: 217.6 kB / 0.6475 GB, free: 15.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1488, allocations: 8 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1488, allocations: 4 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1488, allocations: 3.984 kB / 0.6475 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1491, allocations: 35.92 kB / 0.6476 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1491, allocations: 0 / 0.6476 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1493, allocations: 31.95 kB / 0.6476 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1493, allocations: 0 / 0.6476 GB, free: 15.61 MB / 458.7 MB 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.147e-05/0.1494, allocations: 127.1 kB / 0.6477 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1495, allocations: 0 / 0.6477 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.1495, allocations: 11.91 kB / 0.6477 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1495, allocations: 0 / 0.6477 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1495, allocations: 0 / 0.6477 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1496, allocations: 4 kB / 0.6477 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1498, allocations: 213.4 kB / 0.6479 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1498, allocations: 0 / 0.6479 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.15, allocations: 43.88 kB / 0.648 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1501, allocations: 3.938 kB / 0.648 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1501, allocations: 0 / 0.648 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1501, allocations: 0 / 0.648 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1501, allocations: 0 / 0.648 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1515, allocations: 0.9813 MB / 0.6489 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.1516, allocations: 77.11 kB / 0.649 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1516, allocations: 0 / 0.649 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.1518, allocations: 35.89 kB / 0.649 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.1519, allocations: 3.984 kB / 0.649 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1519, allocations: 4 kB / 0.649 GB, free: 13.97 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.1519, allocations: 95.27 kB / 0.6491 GB, free: 13.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1519, allocations: 0 / 0.6491 GB, free: 13.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.1523, allocations: 12 kB / 0.6491 GB, free: 13.87 MB / 458.7 MB 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 0.0001392/0.1524, allocations: 95.25 kB / 0.6492 GB, free: 13.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007908/0.1532, allocations: 199.7 kB / 0.6494 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1532, allocations: 0 / 0.6494 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.1536, allocations: 103.8 kB / 0.6495 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1539, allocations: 4.281 kB / 0.6495 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.1549, allocations: 385.7 kB / 0.6499 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1552, allocations: 0.6888 MB / 0.6506 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.401e-05/0.1552, allocations: 27.92 kB / 0.6506 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1553, allocations: 11.42 kB / 0.6506 GB, free: 12.29 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.1553, allocations: 0 / 0.6506 GB, free: 12.29 MB / 458.7 MB Notification: Performance of Templates: time 0.002612/0.1579, allocations: 0.868 MB / 0.6515 GB, free: 11.43 MB / 458.7 MB 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)