Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic") translateModel(BuildingSystems.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0009036/0.0009036, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 278.5 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.912/0.912, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004363, allocations: 15.86 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.001429/0.1637, allocations: 1.186 MB / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.164, allocations: 116.6 kB / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.164, allocations: 0.5625 kB / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.164, allocations: 1.406 kB / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.1641, allocations: 7.938 kB / 0.6858 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1643, allocations: 21.22 kB / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.1643, allocations: 39.91 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.1644, allocations: 17.67 kB / 0.6858 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.1645, allocations: 11.92 kB / 0.6858 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.1645, allocations: 19.92 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1645, allocations: 4 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.1646, allocations: 38.64 kB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.1647, allocations: 11.94 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1647, allocations: 29.7 kB / 0.6859 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.738e-05/0.1648, allocations: 56.12 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1648, allocations: 7.922 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1648, allocations: 0 / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1648, allocations: 0 / 0.686 GB, free: 13.87 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004509/0.1653, allocations: 382.8 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1653, allocations: 8.031 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1653, allocations: 7.906 kB / 0.6864 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1655, allocations: 175 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1655, allocations: 0.75 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1655, allocations: 0 / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.1658, allocations: 124 kB / 0.6867 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1658, allocations: 0.5938 kB / 0.6867 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1658, allocations: 6.516 kB / 0.6867 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.1658, allocations: 11.98 kB / 0.6867 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.1662, allocations: 142.6 kB / 0.6868 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.1666, allocations: 350 kB / 0.6872 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1668, allocations: 76.55 kB / 0.6872 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1669, allocations: 44.92 kB / 0.6873 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.1672, allocations: 121.1 kB / 0.6874 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1672, allocations: 34.5 kB / 0.6874 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1672, allocations: 0 / 0.6874 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004966/0.1677, allocations: 169.5 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1677, allocations: 55.41 kB / 0.6876 GB, free: 12.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1678, allocations: 139.9 kB / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1679, allocations: 29.7 kB / 0.6878 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.1679, allocations: 119.7 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.168, allocations: 15.83 kB / 0.6879 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.168, allocations: 4 kB / 0.6879 GB, free: 11.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.1681, allocations: 314.8 kB / 0.6882 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1682, allocations: 59.95 kB / 0.6883 GB, free: 11.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.1684, allocations: 129.3 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1686, allocations: 63.95 kB / 0.6885 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1686, allocations: 4 kB / 0.6885 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003857/0.169, allocations: 213.2 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.169, allocations: 4 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.169, allocations: 4 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.169, allocations: 4 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1692, allocations: 44.22 kB / 0.6887 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1692, allocations: 8 kB / 0.6887 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1693, allocations: 31.83 kB / 0.6888 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1693, allocations: 8 kB / 0.6888 GB, free: 10.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 8.132e-05/0.1694, allocations: 129.7 kB / 0.6889 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1695, allocations: 11.86 kB / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.1698, allocations: 145.8 kB / 0.6891 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1698, allocations: 0 / 0.6891 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1698, allocations: 0 / 0.6891 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1698, allocations: 0 / 0.6891 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.17, allocations: 177.6 kB / 0.6892 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.17, allocations: 0 / 0.6892 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.1701, allocations: 27.97 kB / 0.6893 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1701, allocations: 3.953 kB / 0.6893 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1702, allocations: 4 kB / 0.6893 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1702, allocations: 0 / 0.6893 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1702, allocations: 3.938 kB / 0.6893 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1705, allocations: 215.7 kB / 0.6895 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1705, allocations: 89.05 kB / 0.6896 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1706, allocations: 7.938 kB / 0.6896 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1707, allocations: 19.98 kB / 0.6896 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1707, allocations: 4 kB / 0.6896 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1707, allocations: 3.938 kB / 0.6896 GB, free: 9.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.1708, allocations: 109.4 kB / 0.6897 GB, free: 9.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1708, allocations: 0 / 0.6897 GB, free: 9.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1711, allocations: 20 kB / 0.6897 GB, free: 9.711 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001295/0.1712, allocations: 103.2 kB / 0.6898 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.1715, allocations: 124.4 kB / 0.6899 GB, free: 9.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1716, allocations: 4 kB / 0.6899 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1717, allocations: 47.95 kB / 0.69 GB, free: 9.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.172, allocations: 11.94 kB / 0.69 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.1723, allocations: 185 kB / 0.6902 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1725, allocations: 0.6926 MB / 0.6908 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.797e-05/0.1726, allocations: 24.41 kB / 0.6909 GB, free: 8.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.1727, allocations: 11.44 kB / 0.6909 GB, free: 8.461 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1727, allocations: 0 / 0.6909 GB, free: 8.461 MB / 494.1 MB Notification: Performance of Templates: time 0.00286/0.1755, allocations: 0.8027 MB / 0.6917 GB, free: 7.664 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)