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.00121/0.00121, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001231/0.001231, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 294.1 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.163/1.163, allocations: 178.6 MB / 0.5079 GB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 99.84 kB / 0.6071 GB, free: 9.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1736, allocations: 89.14 MB / 0.6942 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002795/0.1764, allocations: 1.484 MB / 0.6956 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.1768, allocations: 120.5 kB / 0.6957 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.1768, allocations: 0 / 0.6957 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.307e-05/0.1769, allocations: 3.984 kB / 0.6957 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.177, allocations: 15.86 kB / 0.6957 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1772, allocations: 19.97 kB / 0.6958 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.1773, allocations: 51.78 kB / 0.6958 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1774, allocations: 8 kB / 0.6958 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.1774, allocations: 23.92 kB / 0.6958 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.1775, allocations: 19.91 kB / 0.6959 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1775, allocations: 4 kB / 0.6959 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.1776, allocations: 35.97 kB / 0.6959 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.1777, allocations: 19.91 kB / 0.6959 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1777, allocations: 19.88 kB / 0.6959 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1779, allocations: 71.78 kB / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1779, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1779, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1779, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB 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.0005651/0.1785, allocations: 395.5 kB / 0.6964 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1785, allocations: 8.031 kB / 0.6964 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1785, allocations: 8.844 kB / 0.6964 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1787, allocations: 168.3 kB / 0.6966 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1787, allocations: 384 / 0.6966 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1787, allocations: 384 / 0.6966 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.179, allocations: 125.1 kB / 0.6967 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.179, allocations: 192 / 0.6967 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.179, allocations: 3.938 kB / 0.6967 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.1791, allocations: 11.94 kB / 0.6967 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.1794, allocations: 123.9 kB / 0.6968 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.1799, allocations: 348.5 kB / 0.6971 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1801, allocations: 50.55 kB / 0.6972 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1803, allocations: 44.91 kB / 0.6972 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.1806, allocations: 129.1 kB / 0.6974 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1806, allocations: 34.56 kB / 0.6974 GB, free: 12.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1806, allocations: 4 kB / 0.6974 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005421/0.1812, allocations: 137.4 kB / 0.6975 GB, free: 12.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1812, allocations: 55.34 kB / 0.6976 GB, free: 12.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.1814, allocations: 148 kB / 0.6977 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1814, allocations: 25.7 kB / 0.6977 GB, free: 12.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.1815, allocations: 119.6 kB / 0.6979 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.1815, allocations: 11.91 kB / 0.6979 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.1815, allocations: 29.7 kB / 0.6979 GB, free: 11.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1817, allocations: 314.8 kB / 0.6982 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1818, allocations: 51.94 kB / 0.6982 GB, free: 11.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.1821, allocations: 121.3 kB / 0.6984 GB, free: 11.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1824, allocations: 173.2 kB / 0.6985 GB, free: 11.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1824, allocations: 0 / 0.6985 GB, free: 11.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004364/0.1829, allocations: 185.3 kB / 0.6987 GB, free: 11.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1829, allocations: 4 kB / 0.6987 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1829, allocations: 4 kB / 0.6987 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1829, allocations: 4 kB / 0.6987 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1831, allocations: 39.91 kB / 0.6988 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1831, allocations: 7.938 kB / 0.6988 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1832, allocations: 23.83 kB / 0.6988 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.1833, allocations: 4.219 kB / 0.6988 GB, free: 10.98 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.608e-05/0.1834, allocations: 129.8 kB / 0.6989 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1834, allocations: 11.89 kB / 0.6989 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.1838, allocations: 118 kB / 0.699 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1838, allocations: 7.969 kB / 0.699 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1838, allocations: 3.938 kB / 0.699 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1838, allocations: 0 / 0.699 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.184, allocations: 173.6 kB / 0.6992 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.184, allocations: 4 kB / 0.6992 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.1841, allocations: 11.98 kB / 0.6992 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1841, allocations: 0 / 0.6992 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1841, allocations: 8 kB / 0.6992 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.1841, allocations: 7.922 kB / 0.6992 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1841, allocations: 0 / 0.6992 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.1845, allocations: 199.3 kB / 0.6994 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.1846, allocations: 81.02 kB / 0.6995 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1846, allocations: 8 kB / 0.6995 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1847, allocations: 19.91 kB / 0.6995 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1848, allocations: 4 kB / 0.6995 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1848, allocations: 0 / 0.6995 GB, free: 10.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.1849, allocations: 112.8 kB / 0.6996 GB, free: 10 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1849, allocations: 0 / 0.6996 GB, free: 10 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002527/0.1851, allocations: 12 kB / 0.6997 GB, free: 9.988 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0001532/0.1853, allocations: 111.2 kB / 0.6998 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.1857, allocations: 107.8 kB / 0.6999 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1857, allocations: 0 / 0.6999 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1858, allocations: 36.58 kB / 0.6999 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1862, allocations: 12 kB / 0.6999 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.1866, allocations: 195.5 kB / 0.7001 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1869, allocations: 0.6924 MB / 0.7008 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.1869, allocations: 15.44 kB / 0.7008 GB, free: 8.762 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.1869, allocations: 0 / 0.7008 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Templates: time 0.002791/0.1897, allocations: 1.196 MB / 0.702 GB, free: 7.566 MB / 0.545 GB 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)