Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 112.5 kB / 17.08 MB, free: 4.984 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.001224/0.001224, allocations: 203 kB / 18.05 MB, free: 4.312 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.34/1.34, allocations: 225.6 MB / 244.5 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00243/0.00243, allocations: 284.5 kB / 297.6 MB, free: 11.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.156/1.156, allocations: 180.9 MB / 0.519 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 98.42 kB / 0.7166 GB, free: 39.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1563, allocations: 94.16 MB / 0.8086 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002795/0.1591, allocations: 1.465 MB / 0.81 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1605, allocations: 0.7971 MB / 0.8108 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.1605, allocations: 0 / 0.8108 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1608, allocations: 131.7 kB / 0.8109 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005563/0.1613, allocations: 179.6 kB / 0.8111 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.1615, allocations: 73.3 kB / 0.8112 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1616, allocations: 67.8 kB / 0.8112 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.078e-05/0.1617, allocations: 4 kB / 0.8112 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.1617, allocations: 43.88 kB / 0.8113 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1619, allocations: 91.77 kB / 0.8114 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1619, allocations: 8 kB / 0.8114 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.1623, allocations: 235.7 kB / 0.8116 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.1624, allocations: 107.7 kB / 0.8117 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.084e-05/0.1625, allocations: 83.28 kB / 0.8118 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.1629, allocations: 314.7 kB / 0.8121 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1629, allocations: 8 kB / 0.8121 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1629, allocations: 0 / 0.8121 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1629, allocations: 0 / 0.8121 GB, free: 2.77 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008077/0.1637, allocations: 0.5794 MB / 0.8127 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1638, allocations: 12.03 kB / 0.8127 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.1638, allocations: 28.75 kB / 0.8127 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.1643, allocations: 386.6 kB / 0.8131 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1643, allocations: 4.375 kB / 0.8131 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.1643, allocations: 384 / 0.8131 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1645, allocations: 89.91 kB / 0.8132 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1645, allocations: 0 / 0.8132 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1645, allocations: 3.938 kB / 0.8132 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1645, allocations: 3.938 kB / 0.8132 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.1647, allocations: 103.9 kB / 0.8133 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.1653, allocations: 456.7 kB / 0.8137 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1655, allocations: 114.5 kB / 0.8138 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1656, allocations: 48.89 kB / 0.8139 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.1657, allocations: 39.7 kB / 0.8139 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1657, allocations: 30.56 kB / 0.8139 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1657, allocations: 0 / 0.8139 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004729/0.1662, allocations: 209.4 kB / 0.8141 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1662, allocations: 55.41 kB / 0.8142 GB, free: 468 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.1668, allocations: 0.5406 MB / 0.8147 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1669, allocations: 29.64 kB / 0.8147 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.167, allocations: 156.1 kB / 0.8149 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.167, allocations: 11.95 kB / 0.8149 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.1671, allocations: 37.66 kB / 0.8149 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1672, allocations: 342.8 kB / 0.8153 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.1674, allocations: 95.94 kB / 0.8153 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1675, allocations: 98.03 kB / 0.8154 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1678, allocations: 184.6 kB / 0.8156 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1678, allocations: 0 / 0.8156 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004122/0.1682, allocations: 264.2 kB / 0.8159 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1683, allocations: 8 kB / 0.8159 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1683, allocations: 0 / 0.8159 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1683, allocations: 4 kB / 0.8159 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1684, allocations: 27.92 kB / 0.8159 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1684, allocations: 7.984 kB / 0.8159 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.1685, allocations: 11.98 kB / 0.8159 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1685, allocations: 0 / 0.8159 GB, free: 14.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001534/0.1687, allocations: 169.7 kB / 0.8161 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.1687, allocations: 31.77 kB / 0.8161 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.1691, allocations: 171.7 kB / 0.8163 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1691, allocations: 0 / 0.8163 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.1691, allocations: 7.984 kB / 0.8163 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1691, allocations: 0 / 0.8163 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.1694, allocations: 273.4 kB / 0.8165 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1694, allocations: 7.938 kB / 0.8166 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1694, allocations: 11.98 kB / 0.8166 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1694, allocations: 0 / 0.8166 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1694, allocations: 0 / 0.8166 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1694, allocations: 4.031 kB / 0.8166 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1694, allocations: 4 kB / 0.8166 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1698, allocations: 259.2 kB / 0.8168 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.1699, allocations: 120.8 kB / 0.8169 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1699, allocations: 4 kB / 0.8169 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.17, allocations: 0 / 0.8169 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.17, allocations: 12.02 kB / 0.817 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.17, allocations: 0 / 0.817 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004267/0.1705, allocations: 399.1 kB / 0.8173 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1705, allocations: 0 / 0.8173 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003739/0.1708, allocations: 79.92 kB / 0.8174 GB, free: 13 MB / 0.5762 GB 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 (2): * Single equations (assignments): 2 * 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.0002913/0.1711, allocations: 151.1 kB / 0.8176 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.1715, allocations: 163.8 kB / 0.8177 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1715, allocations: 0 / 0.8177 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1716, allocations: 55.95 kB / 0.8178 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.172, allocations: 21.39 kB / 0.8178 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.1728, allocations: 0.5257 MB / 0.8183 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.1732, allocations: 0.7671 MB / 0.819 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.1732, allocations: 19.44 kB / 0.8191 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1732, allocations: 0 / 0.8191 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of Templates: time 0.005937/0.1792, allocations: 3.361 MB / 0.8223 GB, free: 7.898 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1)