Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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/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/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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, 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/package.mo): time 0.8617/0.8617, allocations: 132.2 MB / 148.9 MB, free: 12.12 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.426/1.426, allocations: 222.9 MB / 403.4 MB, free: 7.031 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.001116/0.001116, allocations: 105.2 kB / 484.3 MB, free: 8.668 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009297/0.0009299, allocations: 52.16 kB / 0.5619 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1275, allocations: 80.21 MB / 0.6402 GB, free: 6.734 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001827/0.1293, allocations: 0.6738 MB / 0.6408 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1312, allocations: 1.421 MB / 0.6422 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.1312, allocations: 0 / 0.6422 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.1313, allocations: 0 / 0.6422 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.444e-05/0.1314, allocations: 11.94 kB / 0.6422 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1319, allocations: 133.4 kB / 0.6424 GB, free: 4.477 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.852e-05/0.132, allocations: 35.97 kB / 0.6424 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.132, allocations: 4 kB / 0.6424 GB, free: 4.438 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.132, allocations: 15.92 kB / 0.6424 GB, free: 4.422 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.1321, allocations: 35.89 kB / 0.6424 GB, free: 4.387 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1321, allocations: 0 / 0.6424 GB, free: 4.387 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.1324, allocations: 195.7 kB / 0.6426 GB, free: 4.195 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.1325, allocations: 11.98 kB / 0.6426 GB, free: 4.184 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.1325, allocations: 23.81 kB / 0.6427 GB, free: 4.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1328, allocations: 195.5 kB / 0.6429 GB, free: 3.969 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1328, allocations: 0 / 0.6429 GB, free: 3.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1328, allocations: 0 / 0.6429 GB, free: 3.969 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1328, allocations: 0 / 0.6429 GB, free: 3.969 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004733/0.1333, allocations: 442.9 kB / 0.6433 GB, free: 3.477 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1333, allocations: 8.031 kB / 0.6433 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1334, allocations: 12.83 kB / 0.6433 GB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1335, allocations: 172.3 kB / 0.6435 GB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1335, allocations: 384 / 0.6435 GB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1336, allocations: 4.375 kB / 0.6435 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1337, allocations: 97.95 kB / 0.6436 GB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1338, allocations: 7.922 kB / 0.6436 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1338, allocations: 0 / 0.6436 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.1338, allocations: 0 / 0.6436 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1339, allocations: 59.95 kB / 0.6436 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.1341, allocations: 177.6 kB / 0.6438 GB, free: 2.855 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1342, allocations: 90.53 kB / 0.6439 GB, free: 2.758 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.1343, allocations: 64.89 kB / 0.6439 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.1343, allocations: 0 / 0.6439 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1343, allocations: 34.5 kB / 0.644 GB, free: 2.648 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1343, allocations: 0 / 0.644 GB, free: 2.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004051/0.1348, allocations: 255.1 kB / 0.6442 GB, free: 2.387 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1348, allocations: 85.09 kB / 0.6443 GB, free: 2.285 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.135, allocations: 147.1 kB / 0.6444 GB, free: 2.133 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.135, allocations: 29.64 kB / 0.6445 GB, free: 2.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.1351, allocations: 96.05 kB / 0.6446 GB, free: 2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.1351, allocations: 7.844 kB / 0.6446 GB, free: 1.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.1351, allocations: 29.7 kB / 0.6446 GB, free: 1.957 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1353, allocations: 322.8 kB / 0.6449 GB, free: 1.633 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1354, allocations: 103.9 kB / 0.645 GB, free: 1.531 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1356, allocations: 99.94 kB / 0.6451 GB, free: 1.434 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.1359, allocations: 285.8 kB / 0.6454 GB, free: 1.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1359, allocations: 0 / 0.6454 GB, free: 1.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003803/0.1363, allocations: 324.8 kB / 0.6457 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.1364, allocations: 76.62 kB / 0.6458 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1364, allocations: 0 / 0.6458 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1364, allocations: 4 kB / 0.6458 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1364, allocations: 0 / 0.6458 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1364, allocations: 0 / 0.6458 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1366, allocations: 15.84 kB / 0.6458 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1366, allocations: 4 kB / 0.6458 GB, free: 0.6875 MB / 442.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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001217/0.1367, allocations: 156.9 kB / 0.6459 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.1368, allocations: 7.844 kB / 0.6459 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.1368, allocations: 12.23 kB / 0.6459 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1368, allocations: 0 / 0.6459 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1368, allocations: 0 / 0.6459 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1368, allocations: 0 / 0.6459 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.137, allocations: 173.6 kB / 0.6461 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.137, allocations: 0 / 0.6461 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.137, allocations: 3.938 kB / 0.6461 GB, free: 280 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.137, allocations: 7.938 kB / 0.6461 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.137, allocations: 4 kB / 0.6461 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.137, allocations: 0 / 0.6461 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.137, allocations: 0 / 0.6461 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.1377, allocations: 0.8715 MB / 0.647 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1378, allocations: 81.02 kB / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1378, allocations: 8.016 kB / 0.6471 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.1379, allocations: 8 kB / 0.6471 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.138, allocations: 7.984 kB / 0.6471 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.138, allocations: 0 / 0.6471 GB, free: 15.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.138, allocations: 108.5 kB / 0.6472 GB, free: 15.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.138, allocations: 0 / 0.6472 GB, free: 15.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.1384, allocations: 79.92 kB / 0.6473 GB, free: 15.02 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002601/0.1387, allocations: 143.2 kB / 0.6474 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.1391, allocations: 374.7 kB / 0.6478 GB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1392, allocations: 0 / 0.6478 GB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1393, allocations: 139.3 kB / 0.6479 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.1395, allocations: 9.969 kB / 0.6479 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.1399, allocations: 326.3 kB / 0.6482 GB, free: 13.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1403, allocations: 0.7006 MB / 0.6489 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.136e-06/0.1403, allocations: 3.938 kB / 0.6489 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-06/0.1403, allocations: 7.438 kB / 0.6489 GB, free: 13.22 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1403, allocations: 0 / 0.6489 GB, free: 13.22 MB / 458.7 MB Notification: Performance of Templates: time 0.004153/0.1445, allocations: 1.97 MB / 0.6508 GB, free: 11.25 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)