Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001633/0.001632, allocations: 182.9 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.786/0.786, allocations: 133.4 MB / 150.1 MB, free: 11.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.428/1.428, allocations: 222.9 MB / 404.7 MB, free: 6.012 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.001149/0.001149, allocations: 107.3 kB / 485.9 MB, free: 7.117 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 59.91 kB / 0.5636 GB, free: 69.84 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1353, allocations: 80.43 MB / 0.6422 GB, free: 5.348 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002106/0.1375, allocations: 0.6719 MB / 0.6428 GB, free: 4.668 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1395, allocations: 1.421 MB / 0.6442 GB, free: 3.23 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.1395, allocations: 0 / 0.6442 GB, free: 3.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.234e-05/0.1396, allocations: 0 / 0.6442 GB, free: 3.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.1397, allocations: 7.938 kB / 0.6442 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.1403, allocations: 132.6 kB / 0.6443 GB, free: 3.094 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.1404, allocations: 35.95 kB / 0.6444 GB, free: 3.059 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.1404, allocations: 4 kB / 0.6444 GB, free: 3.055 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.1405, allocations: 19.92 kB / 0.6444 GB, free: 3.035 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.1405, allocations: 31.91 kB / 0.6444 GB, free: 3.004 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1406, allocations: 0 / 0.6444 GB, free: 3.004 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.1409, allocations: 195.7 kB / 0.6446 GB, free: 2.812 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.1409, allocations: 15.92 kB / 0.6446 GB, free: 2.797 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.141, allocations: 27.81 kB / 0.6447 GB, free: 2.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1412, allocations: 187.6 kB / 0.6448 GB, free: 2.586 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1413, allocations: 0 / 0.6448 GB, free: 2.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1413, allocations: 0 / 0.6448 GB, free: 2.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1413, allocations: 0 / 0.6448 GB, free: 2.586 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.0005049/0.1418, allocations: 438.9 kB / 0.6453 GB, free: 2.098 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1418, allocations: 8.031 kB / 0.6453 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1419, allocations: 8.844 kB / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.142, allocations: 177.9 kB / 0.6454 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.142, allocations: 8.312 kB / 0.6454 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.142, allocations: 4.375 kB / 0.6454 GB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1422, allocations: 101.9 kB / 0.6455 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1422, allocations: 0 / 0.6455 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1422, allocations: 0 / 0.6455 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1423, allocations: 4 kB / 0.6455 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.278e-05/0.1423, allocations: 59.95 kB / 0.6456 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1425, allocations: 177.6 kB / 0.6458 GB, free: 1.469 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1426, allocations: 86.53 kB / 0.6459 GB, free: 1.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.1427, allocations: 68.89 kB / 0.6459 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.1427, allocations: 0 / 0.6459 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.1428, allocations: 34.5 kB / 0.646 GB, free: 1.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1428, allocations: 3.938 kB / 0.646 GB, free: 1.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003803/0.1432, allocations: 251.2 kB / 0.6462 GB, free: 1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1432, allocations: 85.09 kB / 0.6463 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1434, allocations: 138.8 kB / 0.6464 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1434, allocations: 29.73 kB / 0.6464 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1435, allocations: 104 kB / 0.6465 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1435, allocations: 11.78 kB / 0.6466 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1435, allocations: 29.7 kB / 0.6466 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1437, allocations: 318.8 kB / 0.6469 GB, free: 252 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1438, allocations: 103.9 kB / 0.647 GB, free: 148 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1439, allocations: 99.94 kB / 0.6471 GB, free: 48 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1442, allocations: 281.8 kB / 0.6473 GB, free: 15.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1442, allocations: 4.031 kB / 0.6474 GB, free: 15.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003404/0.1446, allocations: 320.8 kB / 0.6477 GB, free: 15.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.1446, allocations: 71.39 kB / 0.6477 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1447, allocations: 0 / 0.6477 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1447, allocations: 3.984 kB / 0.6477 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1447, allocations: 0 / 0.6477 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1447, allocations: 0 / 0.6477 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1448, allocations: 15.84 kB / 0.6477 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1448, allocations: 4 kB / 0.6477 GB, free: 15.31 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: 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.000111/0.145, allocations: 155.6 kB / 0.6479 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.145, allocations: 7.844 kB / 0.6479 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.455e-05/0.145, allocations: 12.38 kB / 0.6479 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.145, allocations: 3.984 kB / 0.6479 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.145, allocations: 0 / 0.6479 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.145, allocations: 0 / 0.6479 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1452, allocations: 173.6 kB / 0.6481 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1452, allocations: 0 / 0.6481 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.1452, allocations: 7.875 kB / 0.6481 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1452, allocations: 3.938 kB / 0.6481 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1452, allocations: 8 kB / 0.6481 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1452, allocations: 0 / 0.6481 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1452, allocations: 0 / 0.6481 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.1459, allocations: 0.8715 MB / 0.649 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.146, allocations: 81.02 kB / 0.649 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.146, allocations: 4 kB / 0.649 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.1461, allocations: 12.02 kB / 0.649 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.1461, allocations: 8 kB / 0.6491 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.1461, allocations: 3.984 kB / 0.6491 GB, free: 13.81 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.1462, allocations: 104.5 kB / 0.6492 GB, free: 13.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1462, allocations: 0 / 0.6492 GB, free: 13.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003967/0.1466, allocations: 83.86 kB / 0.6492 GB, free: 13.63 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.0003022/0.1469, allocations: 139.2 kB / 0.6494 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003938/0.1473, allocations: 378.6 kB / 0.6497 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1474, allocations: 0 / 0.6497 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1475, allocations: 139.3 kB / 0.6499 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.1476, allocations: 5.828 kB / 0.6499 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.1481, allocations: 334.2 kB / 0.6502 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1483, allocations: 0.6967 MB / 0.6509 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.35e-06/0.1484, allocations: 0 / 0.6509 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-06/0.1484, allocations: 7.438 kB / 0.6509 GB, free: 11.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1484, allocations: 0 / 0.6509 GB, free: 11.84 MB / 458.7 MB Notification: Performance of Templates: time 0.004273/0.1526, allocations: 1.969 MB / 0.6528 GB, free: 9.871 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)