Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009733/0.0009733, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001102/0.001102, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5488/0.5488, allocations: 95.58 MB / 366 MB, free: 10.36 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005297, allocations: 27.91 kB / 446.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 70.33 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00119/0.2788, allocations: 1.161 MB / 0.5061 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000212/0.279, allocations: 100.3 kB / 0.5062 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.2791, allocations: 0 / 0.5062 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.2791, allocations: 0 / 0.5062 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.2792, allocations: 19.91 kB / 0.5062 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.2794, allocations: 15.98 kB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.2794, allocations: 35.94 kB / 0.5063 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.2795, allocations: 8 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.2796, allocations: 11.92 kB / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.2796, allocations: 19.92 kB / 0.5063 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2796, allocations: 4 kB / 0.5063 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.2797, allocations: 35.95 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.2798, allocations: 8 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2798, allocations: 29.64 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.609e-05/0.2799, allocations: 57.88 kB / 0.5065 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.2799, allocations: 0 / 0.5065 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2799, allocations: 4 kB / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.2799, allocations: 0 / 0.5065 GB, free: 14.99 MB / 382.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.0004172/0.2803, allocations: 375.1 kB / 0.5068 GB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2804, allocations: 19.98 kB / 0.5068 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.2804, allocations: 3.906 kB / 0.5068 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.2805, allocations: 174.9 kB / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2805, allocations: 0 / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2805, allocations: 4 kB / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.2808, allocations: 125.6 kB / 0.5071 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2808, allocations: 0 / 0.5071 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2808, allocations: 0 / 0.5071 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.2809, allocations: 11.98 kB / 0.5071 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2812, allocations: 147.8 kB / 0.5073 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.2816, allocations: 352.5 kB / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.2818, allocations: 66.55 kB / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.2821, allocations: 121.2 kB / 0.5078 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2821, allocations: 34.56 kB / 0.5078 GB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2821, allocations: 0 / 0.5078 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000537/0.2827, allocations: 173.5 kB / 0.508 GB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2827, allocations: 55.41 kB / 0.5081 GB, free: 13.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2828, allocations: 152 kB / 0.5082 GB, free: 13.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.2828, allocations: 25.7 kB / 0.5082 GB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.2829, allocations: 119.7 kB / 0.5083 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.2829, allocations: 11.91 kB / 0.5083 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2829, allocations: 0 / 0.5083 GB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.283, allocations: 318.8 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.2832, allocations: 59.95 kB / 0.5087 GB, free: 12.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2833, allocations: 125.3 kB / 0.5088 GB, free: 12.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2835, allocations: 83.86 kB / 0.5089 GB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2835, allocations: 0 / 0.5089 GB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003769/0.2839, allocations: 205.2 kB / 0.5091 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2839, allocations: 8 kB / 0.5091 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2839, allocations: 0 / 0.5091 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.284, allocations: 4 kB / 0.5091 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2841, allocations: 39.97 kB / 0.5092 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2841, allocations: 8.25 kB / 0.5092 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2842, allocations: 35.78 kB / 0.5092 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2843, allocations: 11.98 kB / 0.5092 GB, free: 11.92 MB / 382.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 5.989e-05/0.2843, allocations: 117.8 kB / 0.5093 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2844, allocations: 7.906 kB / 0.5093 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.2847, allocations: 149.8 kB / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2847, allocations: 0 / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2847, allocations: 0 / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2847, allocations: 0 / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.2849, allocations: 185.5 kB / 0.5096 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2849, allocations: 0 / 0.5096 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.684e-05/0.285, allocations: 19.98 kB / 0.5097 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.285, allocations: 8 kB / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.285, allocations: 0 / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.285, allocations: 0 / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.285, allocations: 0 / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.2853, allocations: 235.3 kB / 0.5099 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.2853, allocations: 81.02 kB / 0.51 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2854, allocations: 0 / 0.51 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2855, allocations: 19.98 kB / 0.51 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2855, allocations: 7.984 kB / 0.51 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.2855, allocations: 4 kB / 0.51 GB, free: 10.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.2856, allocations: 105.3 kB / 0.5101 GB, free: 10.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2856, allocations: 0 / 0.5101 GB, free: 10.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.2858, allocations: 19.98 kB / 0.5101 GB, free: 10.87 MB / 382.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.0001216/0.286, allocations: 107.1 kB / 0.5102 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.2863, allocations: 128.4 kB / 0.5103 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2863, allocations: 0 / 0.5103 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.2865, allocations: 47.97 kB / 0.5104 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2867, allocations: 11.94 kB / 0.5104 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.287, allocations: 177.1 kB / 0.5106 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2872, allocations: 0.6965 MB / 0.5113 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.461e-05/0.2873, allocations: 28.41 kB / 0.5113 GB, free: 9.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.2873, allocations: 15.38 kB / 0.5113 GB, free: 9.605 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2873, allocations: 0 / 0.5113 GB, free: 9.605 MB / 382.1 MB Notification: Performance of Templates: time 0.002653/0.29, allocations: 0.8124 MB / 0.5121 GB, free: 8.797 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) Environment - environmentSimulation: