Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 174.4 kB / 16.57 MB, free: 6.398 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.325/1.325, allocations: 223.2 MB / 240.5 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6567/0.6567, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 11.98 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 77.15 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006161/0.1405, allocations: 323.1 kB / 0.5572 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.142, allocations: 1.329 MB / 0.5585 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.142, allocations: 3.938 kB / 0.5585 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.1421, allocations: 8 kB / 0.5585 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.1421, allocations: 3.984 kB / 0.5585 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1426, allocations: 130.3 kB / 0.5586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.1427, allocations: 27.91 kB / 0.5586 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.1427, allocations: 3.984 kB / 0.5586 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.1428, allocations: 19.98 kB / 0.5586 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.1428, allocations: 19.92 kB / 0.5587 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1429, allocations: 8 kB / 0.5587 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.1431, allocations: 171.7 kB / 0.5588 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.1431, allocations: 15.88 kB / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1432, allocations: 33.7 kB / 0.5589 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1434, allocations: 123.8 kB / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1434, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1434, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1434, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 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.000335/0.1437, allocations: 434.8 kB / 0.5594 GB, free: 8.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1438, allocations: 16.02 kB / 0.5594 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1438, allocations: 15.84 kB / 0.5594 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1439, allocations: 168.7 kB / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1439, allocations: 0 / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.144, allocations: 4 kB / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1441, allocations: 93.64 kB / 0.5597 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1441, allocations: 3.953 kB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1441, allocations: 0 / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1442, allocations: 0 / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.1442, allocations: 59.95 kB / 0.5598 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.1444, allocations: 181.6 kB / 0.5599 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1445, allocations: 82.47 kB / 0.56 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-06/0.1445, allocations: 0 / 0.56 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1445, allocations: 34.59 kB / 0.56 GB, free: 8.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.955e-06/0.1446, allocations: 0 / 0.56 GB, free: 8.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003935/0.1449, allocations: 336.3 kB / 0.5604 GB, free: 7.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.145, allocations: 81.05 kB / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1451, allocations: 149.9 kB / 0.5606 GB, free: 7.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1451, allocations: 25.7 kB / 0.5606 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.1452, allocations: 88.14 kB / 0.5607 GB, free: 7.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.1452, allocations: 27.72 kB / 0.5607 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1452, allocations: 0 / 0.5607 GB, free: 7.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.1453, allocations: 318.8 kB / 0.561 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1455, allocations: 103.9 kB / 0.5611 GB, free: 6.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1456, allocations: 99.94 kB / 0.5612 GB, free: 6.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1457, allocations: 159.4 kB / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1457, allocations: 0 / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003298/0.1461, allocations: 328.8 kB / 0.5617 GB, free: 6.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.1461, allocations: 69.89 kB / 0.5618 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1461, allocations: 0 / 0.5618 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1462, allocations: 4 kB / 0.5618 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.1462, allocations: 0 / 0.5618 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1462, allocations: 3.953 kB / 0.5618 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1463, allocations: 11.94 kB / 0.5618 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1463, allocations: 11.92 kB / 0.5618 GB, free: 6.242 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/0.1464, allocations: 157 kB / 0.5619 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.1465, allocations: 7.906 kB / 0.5619 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.1465, allocations: 8.25 kB / 0.5619 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1465, allocations: 0 / 0.5619 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1465, allocations: 0 / 0.5619 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1465, allocations: 3.953 kB / 0.562 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1466, allocations: 173.6 kB / 0.5621 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1466, allocations: 0 / 0.5621 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1466, allocations: 3.938 kB / 0.5621 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1466, allocations: 4 kB / 0.5621 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1467, allocations: 4 kB / 0.5621 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1467, allocations: 0 / 0.5621 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1467, allocations: 0 / 0.5621 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1469, allocations: 234.7 kB / 0.5624 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.147, allocations: 85.02 kB / 0.5624 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.147, allocations: 4 kB / 0.5624 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.1471, allocations: 7.984 kB / 0.5624 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1471, allocations: 11.97 kB / 0.5625 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1471, allocations: 3.984 kB / 0.5625 GB, free: 5.434 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.855e-05/0.1472, allocations: 103.3 kB / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1472, allocations: 0 / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1475, allocations: 63.98 kB / 0.5626 GB, free: 5.27 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002386/0.1478, allocations: 151.9 kB / 0.5628 GB, free: 5.113 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.1481, allocations: 370.6 kB / 0.5631 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1481, allocations: 4.062 kB / 0.5631 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1483, allocations: 139.3 kB / 0.5633 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.702e-05/0.1484, allocations: 4 kB / 0.5633 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.1487, allocations: 203.4 kB / 0.5635 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1489, allocations: 0.6965 MB / 0.5641 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.04e-06/0.1489, allocations: 11.94 kB / 0.5641 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-06/0.149, allocations: 7.438 kB / 0.5642 GB, free: 3.602 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.149, allocations: 0 / 0.5642 GB, free: 3.602 MB / 430.1 MB Notification: Performance of Templates: time 0.004077/0.153, allocations: 1.865 MB / 0.566 GB, free: 1.742 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)