Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001788/0.001788, allocations: 189.5 kB / 16.25 MB, free: 6.648 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 290.9 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 178.6 MB / 0.5069 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 100.4 kB / 0.6059 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1685, allocations: 89.15 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002956/0.1715, allocations: 1.566 MB / 0.6945 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1728, allocations: 0.7278 MB / 0.6952 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.1728, allocations: 0 / 0.6952 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1731, allocations: 131.6 kB / 0.6954 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1732, allocations: 71.81 kB / 0.6954 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.1738, allocations: 162.2 kB / 0.6956 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1739, allocations: 71.8 kB / 0.6956 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.174, allocations: 0.9375 kB / 0.6956 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.1741, allocations: 36.48 kB / 0.6957 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1742, allocations: 84.97 kB / 0.6958 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1742, allocations: 4 kB / 0.6958 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.1746, allocations: 227.7 kB / 0.696 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1747, allocations: 63.83 kB / 0.696 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.1748, allocations: 59.42 kB / 0.6961 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1752, allocations: 267.2 kB / 0.6964 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1752, allocations: 4 kB / 0.6964 GB, free: 1.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1752, allocations: 0 / 0.6964 GB, free: 1.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1752, allocations: 0 / 0.6964 GB, free: 1.254 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007121/0.1759, allocations: 0.506 MB / 0.6969 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.176, allocations: 12.02 kB / 0.6969 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.176, allocations: 20.66 kB / 0.6969 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1763, allocations: 259.7 kB / 0.6971 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1763, allocations: 384 / 0.6971 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1763, allocations: 384 / 0.6971 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.1766, allocations: 85.91 kB / 0.6972 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1766, allocations: 0 / 0.6972 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1766, allocations: 0 / 0.6972 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1766, allocations: 3.984 kB / 0.6972 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.1768, allocations: 87.92 kB / 0.6973 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.1774, allocations: 392.7 kB / 0.6977 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1776, allocations: 90.53 kB / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1777, allocations: 52.88 kB / 0.6978 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.1778, allocations: 23.92 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1778, allocations: 30.56 kB / 0.6979 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1778, allocations: 0 / 0.6979 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004438/0.1783, allocations: 181.3 kB / 0.698 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.1783, allocations: 51.41 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.1787, allocations: 351.3 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1788, allocations: 29.7 kB / 0.6985 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.1789, allocations: 136.1 kB / 0.6986 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1789, allocations: 15.83 kB / 0.6986 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.179, allocations: 21.72 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1791, allocations: 334.8 kB / 0.6989 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.1793, allocations: 95.94 kB / 0.699 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1795, allocations: 95.89 kB / 0.6991 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.1798, allocations: 218.1 kB / 0.6993 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1798, allocations: 0 / 0.6993 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003807/0.1802, allocations: 249.3 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1802, allocations: 13.33 kB / 0.6996 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1802, allocations: 0 / 0.6996 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1802, allocations: 3.938 kB / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.1803, allocations: 12 kB / 0.6996 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1803, allocations: 0 / 0.6996 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.1804, allocations: 15.83 kB / 0.6996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1804, allocations: 4 kB / 0.6996 GB, free: 13.7 MB / 0.4981 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001353/0.1806, allocations: 149.7 kB / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.1806, allocations: 19.72 kB / 0.6998 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.1809, allocations: 142.6 kB / 0.6999 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1809, allocations: 0 / 0.6999 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1809, allocations: 3.984 kB / 0.6999 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.181, allocations: 4 kB / 0.6999 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1812, allocations: 245.5 kB / 0.7001 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1812, allocations: 0 / 0.7001 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.1813, allocations: 7.984 kB / 0.7002 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1813, allocations: 4 kB / 0.7002 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1813, allocations: 0 / 0.7002 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1813, allocations: 0 / 0.7002 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1813, allocations: 0 / 0.7002 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1817, allocations: 239.1 kB / 0.7004 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.1817, allocations: 104.8 kB / 0.7005 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1818, allocations: 0 / 0.7005 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1819, allocations: 11.98 kB / 0.7005 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1819, allocations: 0 / 0.7005 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1819, allocations: 4.031 kB / 0.7005 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002597/0.1822, allocations: 249.9 kB / 0.7007 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.6e-07/0.1822, allocations: 0 / 0.7007 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003705/0.1826, allocations: 67.98 kB / 0.7008 GB, free: 12.38 MB / 0.4981 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.00034/0.1829, allocations: 155.2 kB / 0.701 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.1833, allocations: 155.9 kB / 0.7011 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1833, allocations: 4 kB / 0.7011 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1834, allocations: 47.95 kB / 0.7012 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1837, allocations: 22.5 kB / 0.7012 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.1844, allocations: 408.1 kB / 0.7016 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1848, allocations: 0.7404 MB / 0.7023 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1849, allocations: 12.55 kB / 0.7023 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.1849, allocations: 15.44 kB / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1849, allocations: 0 / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.005556/0.1905, allocations: 2.065 MB / 0.7043 GB, free: 8.711 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)