Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008504/0.0008503, allocations: 97.8 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00477/0.00477, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001658/0.001658, allocations: 258.6 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.926/0.926, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 13.03 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1481, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007006/0.1488, allocations: 339.2 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1505, allocations: 1.414 MB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1505, allocations: 1.906 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.1506, allocations: 0 / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.1506, allocations: 3.938 kB / 0.6868 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.1511, allocations: 145 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.1512, allocations: 35.95 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.1512, allocations: 0 / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.1513, allocations: 19.98 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.1513, allocations: 27.91 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1513, allocations: 4.625 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.1517, allocations: 191.7 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.1517, allocations: 12.62 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.1518, allocations: 46.12 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.152, allocations: 187.8 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.152, allocations: 5 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.152, allocations: 0 / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.152, allocations: 0 / 0.6875 GB, free: 12.62 MB / 494.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.0003522/0.1524, allocations: 433.4 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1524, allocations: 12.03 kB / 0.6879 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1525, allocations: 8.844 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1526, allocations: 172.3 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1526, allocations: 384 / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1526, allocations: 8.312 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1528, allocations: 102.6 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1528, allocations: 7.422 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1528, allocations: 3.984 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1529, allocations: 0 / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.844e-05/0.153, allocations: 63.89 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1531, allocations: 173.6 kB / 0.6884 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1532, allocations: 78.53 kB / 0.6885 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.1533, allocations: 73.39 kB / 0.6886 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.1533, allocations: 4.484 kB / 0.6886 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1534, allocations: 35.03 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1534, allocations: 0.5625 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003765/0.1538, allocations: 261.5 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1538, allocations: 81.11 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1539, allocations: 147.5 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.154, allocations: 25.7 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.154, allocations: 92.05 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1541, allocations: 12.64 kB / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1541, allocations: 17.72 kB / 0.6892 GB, free: 10.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.1542, allocations: 320.5 kB / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1543, allocations: 99.94 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1544, allocations: 107.9 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1547, allocations: 270.5 kB / 0.69 GB, free: 9.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1547, allocations: 0 / 0.69 GB, free: 9.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003366/0.155, allocations: 334.2 kB / 0.6903 GB, free: 9.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.1551, allocations: 67.39 kB / 0.6904 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1551, allocations: 0 / 0.6904 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1551, allocations: 0 / 0.6904 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.1551, allocations: 11.12 kB / 0.6904 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1551, allocations: 0 / 0.6904 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1553, allocations: 11.84 kB / 0.6904 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1553, allocations: 8 kB / 0.6904 GB, free: 9.371 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1554, allocations: 152.8 kB / 0.6905 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.1554, allocations: 11.84 kB / 0.6905 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.1555, allocations: 5.031 kB / 0.6906 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1555, allocations: 4 kB / 0.6906 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1555, allocations: 4.625 kB / 0.6906 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1555, allocations: 0 / 0.6906 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1556, allocations: 174.5 kB / 0.6907 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1556, allocations: 0 / 0.6907 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.1556, allocations: 4.469 kB / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1556, allocations: 0.9062 kB / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1556, allocations: 0 / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1556, allocations: 4 kB / 0.6907 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1556, allocations: 1.156 kB / 0.6907 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1559, allocations: 234.7 kB / 0.691 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.156, allocations: 85.05 kB / 0.691 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.156, allocations: 0 / 0.691 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.156, allocations: 7.984 kB / 0.6911 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.1561, allocations: 4 kB / 0.6911 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1561, allocations: 7.984 kB / 0.6911 GB, free: 8.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.74e-05/0.1562, allocations: 109 kB / 0.6912 GB, free: 8.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1562, allocations: 0 / 0.6912 GB, free: 8.469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1565, allocations: 63.98 kB / 0.6912 GB, free: 8.406 MB / 494.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 (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.0002615/0.1567, allocations: 159.2 kB / 0.6914 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1571, allocations: 366.6 kB / 0.6917 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1572, allocations: 4 kB / 0.6917 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1573, allocations: 139.3 kB / 0.6919 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1574, allocations: 9.656 kB / 0.6919 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.1578, allocations: 229.5 kB / 0.6921 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.158, allocations: 0.6889 MB / 0.6928 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.481e-06/0.158, allocations: 0 / 0.6928 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-06/0.158, allocations: 7.438 kB / 0.6928 GB, free: 6.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.158, allocations: 0 / 0.6928 GB, free: 6.727 MB / 494.1 MB Notification: Performance of Templates: time 0.00419/0.1622, allocations: 1.925 MB / 0.6947 GB, free: 4.809 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)