Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 185.8 kB / 15.98 MB, free: 5.789 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8354/0.8354, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.449/1.449, allocations: 222.9 MB / 404.7 MB, free: 6.141 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.001326/0.001326, allocations: 103.7 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009849/0.000985, allocations: 55.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1318, allocations: 80.43 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003262/0.1351, allocations: 1.832 MB / 0.6439 GB, free: 3.594 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1362, allocations: 0.6554 MB / 0.6446 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.1362, allocations: 8 kB / 0.6446 GB, free: 2.922 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.1363, allocations: 3.938 kB / 0.6446 GB, free: 2.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.1364, allocations: 11.86 kB / 0.6446 GB, free: 2.906 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.1369, allocations: 143.7 kB / 0.6447 GB, free: 2.77 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1371, allocations: 127.6 kB / 0.6449 GB, free: 2.645 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1372, allocations: 41.11 kB / 0.6449 GB, free: 2.602 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1373, allocations: 55.83 kB / 0.6449 GB, free: 2.547 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.1374, allocations: 55.69 kB / 0.645 GB, free: 2.492 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1375, allocations: 8 kB / 0.645 GB, free: 2.484 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1376, allocations: 39.97 kB / 0.645 GB, free: 2.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.1376, allocations: 27.91 kB / 0.6451 GB, free: 2.418 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.1377, allocations: 51.7 kB / 0.6451 GB, free: 2.367 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1379, allocations: 139.8 kB / 0.6453 GB, free: 2.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1379, allocations: 0 / 0.6453 GB, free: 2.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1379, allocations: 0 / 0.6453 GB, free: 2.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1379, allocations: 4 kB / 0.6453 GB, free: 2.227 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005886/0.1385, allocations: 431 kB / 0.6457 GB, free: 1.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1385, allocations: 11.97 kB / 0.6457 GB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.1393, allocations: 116.6 kB / 0.6458 GB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1395, allocations: 192.1 kB / 0.646 GB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.1396, allocations: 63.97 kB / 0.646 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1396, allocations: 4.375 kB / 0.646 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.1401, allocations: 173.6 kB / 0.6462 GB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1402, allocations: 3.984 kB / 0.6462 GB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.1402, allocations: 8 kB / 0.6462 GB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1402, allocations: 0 / 0.6462 GB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.1408, allocations: 163.7 kB / 0.6464 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.142, allocations: 485.6 kB / 0.6468 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.143, allocations: 218.3 kB / 0.647 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1433, allocations: 80.91 kB / 0.6471 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1433, allocations: 4 kB / 0.6471 GB, free: 152 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1434, allocations: 34.56 kB / 0.6472 GB, free: 108 kB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1434, allocations: 0 / 0.6472 GB, free: 108 kB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001077/0.1444, allocations: 269.4 kB / 0.6474 GB, free: 15.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1445, allocations: 51.41 kB / 0.6475 GB, free: 15.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1446, allocations: 139.8 kB / 0.6476 GB, free: 15.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1447, allocations: 25.7 kB / 0.6476 GB, free: 15.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.1447, allocations: 112.2 kB / 0.6477 GB, free: 15.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.1448, allocations: 31.62 kB / 0.6478 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.1448, allocations: 25.7 kB / 0.6478 GB, free: 15.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.145, allocations: 314.8 kB / 0.6481 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.1453, allocations: 75.91 kB / 0.6482 GB, free: 15.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.1456, allocations: 98.48 kB / 0.6483 GB, free: 14.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.1463, allocations: 166.4 kB / 0.6484 GB, free: 14.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1463, allocations: 0 / 0.6484 GB, free: 14.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000703/0.147, allocations: 201.7 kB / 0.6486 GB, free: 14.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.147, allocations: 13.62 kB / 0.6486 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.147, allocations: 3.938 kB / 0.6486 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.147, allocations: 3.938 kB / 0.6486 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.1473, allocations: 43.94 kB / 0.6487 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1473, allocations: 0 / 0.6487 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.1475, allocations: 19.97 kB / 0.6487 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1475, allocations: 4 kB / 0.6487 GB, free: 14.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001012/0.1476, allocations: 131.1 kB / 0.6488 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.1477, allocations: 11.81 kB / 0.6488 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.1484, allocations: 206.2 kB / 0.649 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1485, allocations: 4 kB / 0.649 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1485, allocations: 0 / 0.649 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1485, allocations: 0 / 0.649 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.1488, allocations: 230.4 kB / 0.6492 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1488, allocations: 0 / 0.6492 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.149, allocations: 35.95 kB / 0.6493 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.149, allocations: 0 / 0.6493 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.149, allocations: 7.875 kB / 0.6493 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.149, allocations: 0 / 0.6493 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1491, allocations: 4 kB / 0.6493 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.1503, allocations: 0.9228 MB / 0.6502 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1504, allocations: 85.02 kB / 0.6503 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1504, allocations: 7.922 kB / 0.6503 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.1507, allocations: 27.95 kB / 0.6503 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1508, allocations: 8 kB / 0.6503 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1508, allocations: 11.98 kB / 0.6503 GB, free: 12.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.53e-05/0.1509, allocations: 109.5 kB / 0.6504 GB, free: 12.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 0 / 0.6504 GB, free: 12.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.1512, allocations: 20 kB / 0.6504 GB, free: 12.52 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 (6): * Single equations (assignments): 6 * 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.0001321/0.1514, allocations: 95.25 kB / 0.6505 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.1521, allocations: 171.9 kB / 0.6507 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1521, allocations: 0 / 0.6507 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.1524, allocations: 79.92 kB / 0.6508 GB, free: 12.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1527, allocations: 15.94 kB / 0.6508 GB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.1535, allocations: 412.5 kB / 0.6512 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1538, allocations: 0.7043 MB / 0.6519 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.392e-05/0.1539, allocations: 19.98 kB / 0.6519 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.1539, allocations: 15.42 kB / 0.6519 GB, free: 10.95 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1539, allocations: 0 / 0.6519 GB, free: 10.95 MB / 458.7 MB Notification: Performance of Templates: time 0.003304/0.1572, allocations: 1.411 MB / 0.6533 GB, free: 9.547 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)