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.001302/0.001302, allocations: 100.4 kB / 16.27 MB, free: 5.965 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.001392/0.001392, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.252/1.252, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 286.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.2 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 98.86 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1608, allocations: 86.97 MB / 0.6808 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002747/0.1636, allocations: 1.478 MB / 0.6823 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.164, allocations: 116.5 kB / 0.6824 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.164, allocations: 4 kB / 0.6824 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.1641, allocations: 0 / 0.6824 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.1642, allocations: 7.875 kB / 0.6824 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1644, allocations: 31.95 kB / 0.6824 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.1645, allocations: 55.78 kB / 0.6825 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.1646, allocations: 8 kB / 0.6825 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.1646, allocations: 19.92 kB / 0.6825 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.1647, allocations: 19.91 kB / 0.6825 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1647, allocations: 4 kB / 0.6825 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.1648, allocations: 35.97 kB / 0.6826 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.1648, allocations: 11.98 kB / 0.6826 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.1649, allocations: 23.81 kB / 0.6826 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.165, allocations: 75.98 kB / 0.6827 GB, free: 6.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.165, allocations: 8 kB / 0.6827 GB, free: 6.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.165, allocations: 0 / 0.6827 GB, free: 6.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.165, allocations: 0 / 0.6827 GB, free: 6.273 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.0005095/0.1655, allocations: 375.4 kB / 0.683 GB, free: 5.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1656, allocations: 8.031 kB / 0.683 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1656, allocations: 8.844 kB / 0.6831 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1657, allocations: 176.2 kB / 0.6832 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1658, allocations: 8.359 kB / 0.6832 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1658, allocations: 4.375 kB / 0.6832 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.1661, allocations: 114.2 kB / 0.6833 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1661, allocations: 192 / 0.6833 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1661, allocations: 3.938 kB / 0.6834 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.1661, allocations: 8 kB / 0.6834 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.1665, allocations: 127.9 kB / 0.6835 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.1669, allocations: 344.5 kB / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1671, allocations: 58.53 kB / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1673, allocations: 48.84 kB / 0.6839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.1676, allocations: 125.1 kB / 0.684 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1676, allocations: 38.56 kB / 0.6841 GB, free: 4.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1676, allocations: 0 / 0.6841 GB, free: 4.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005551/0.1682, allocations: 129.5 kB / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1682, allocations: 67.33 kB / 0.6843 GB, free: 4.461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1684, allocations: 148.1 kB / 0.6844 GB, free: 4.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1684, allocations: 25.7 kB / 0.6844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.1684, allocations: 115.7 kB / 0.6845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.1685, allocations: 11.84 kB / 0.6845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.1685, allocations: 33.7 kB / 0.6846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.1686, allocations: 318.8 kB / 0.6849 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1688, allocations: 47.95 kB / 0.6849 GB, free: 3.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.169, allocations: 116.2 kB / 0.685 GB, free: 3.598 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1694, allocations: 169.2 kB / 0.6852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1694, allocations: 0 / 0.6852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004321/0.1698, allocations: 185.2 kB / 0.6854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1698, allocations: 8 kB / 0.6854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1698, allocations: 4 kB / 0.6854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1699, allocations: 0 / 0.6854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.17, allocations: 40.22 kB / 0.6854 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.17, allocations: 11.94 kB / 0.6854 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1702, allocations: 19.89 kB / 0.6855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1702, allocations: 8 kB / 0.6855 GB, free: 3.121 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.1703, allocations: 125.8 kB / 0.6856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1703, allocations: 7.906 kB / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.1707, allocations: 121.8 kB / 0.6857 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1707, allocations: 3.938 kB / 0.6857 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1707, allocations: 0 / 0.6857 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1707, allocations: 0 / 0.6857 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1709, allocations: 177.6 kB / 0.6859 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1709, allocations: 0 / 0.6859 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.814e-05/0.171, allocations: 19.98 kB / 0.6859 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.171, allocations: 3.938 kB / 0.6859 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.171, allocations: 7.984 kB / 0.6859 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1711, allocations: 3.938 kB / 0.6859 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1711, allocations: 0 / 0.6859 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.1714, allocations: 203.3 kB / 0.6861 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.1715, allocations: 81.34 kB / 0.6862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1715, allocations: 0 / 0.6862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1716, allocations: 19.91 kB / 0.6862 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.1717, allocations: 8 kB / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1717, allocations: 0 / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.802e-05/0.1717, allocations: 113.3 kB / 0.6863 GB, free: 2.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1717, allocations: 0 / 0.6863 GB, free: 2.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.172, allocations: 16 kB / 0.6863 GB, free: 2.121 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 (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.0001383/0.1722, allocations: 107.2 kB / 0.6864 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.1725, allocations: 112.4 kB / 0.6865 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1726, allocations: 4 kB / 0.6865 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1727, allocations: 35.95 kB / 0.6866 GB, free: 1.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.173, allocations: 12 kB / 0.6866 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.1733, allocations: 187.7 kB / 0.6868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1736, allocations: 0.6924 MB / 0.6874 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.1736, allocations: 15.44 kB / 0.6875 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1736, allocations: 0 / 0.6875 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of Templates: time 0.2584/0.4321, allocations: 1.175 MB / 0.6886 GB, free: 17.64 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)