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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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.001141/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001405/0.001405, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.77 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3301, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002955/0.3331, allocations: 1.543 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004458/0.3336, allocations: 131.6 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.3337, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.783e-05/0.3338, allocations: 3.938 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3338, allocations: 15.88 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3341, allocations: 23.95 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.3342, allocations: 47.84 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3343, allocations: 12 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.3344, allocations: 15.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.3344, allocations: 19.92 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3345, allocations: 4 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3346, allocations: 39.95 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.3347, allocations: 15.92 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3347, allocations: 15.88 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.3349, allocations: 71.77 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3349, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3349, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3349, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 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.0005817/0.3355, allocations: 383.5 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3355, allocations: 15.97 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.3356, allocations: 8.844 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3357, allocations: 168.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3357, allocations: 4.375 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3357, allocations: 4.375 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.3361, allocations: 110.2 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3361, allocations: 192 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3361, allocations: 3.938 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.3361, allocations: 19.98 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.3365, allocations: 123.8 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.337, allocations: 340.5 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.3372, allocations: 62.53 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3374, allocations: 36.92 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/0.3377, allocations: 121.1 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3377, allocations: 42.56 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.3378, allocations: 0 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005961/0.3384, allocations: 141.4 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.3384, allocations: 55.34 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.3385, allocations: 147.5 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3385, allocations: 25.7 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.3386, allocations: 123.6 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.3386, allocations: 7.906 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.3387, allocations: 37.61 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3388, allocations: 318.8 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.339, allocations: 43.95 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3392, allocations: 117.4 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.3396, allocations: 169.2 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3396, allocations: 7.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004404/0.3401, allocations: 173.3 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3401, allocations: 8.312 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3401, allocations: 8 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.3401, allocations: 3.984 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3403, allocations: 39.86 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3403, allocations: 7.984 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.3405, allocations: 23.83 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3405, allocations: 11.94 kB / 1.072 GB, free: 5.773 MB / 0.8262 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 0.0001001/0.3406, allocations: 121.8 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.3406, allocations: 11.91 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.341, allocations: 117.8 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.341, allocations: 7.938 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3411, allocations: 0 / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3411, allocations: 0 / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3412, allocations: 177.6 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3413, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.3414, allocations: 11.98 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3414, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3414, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3414, allocations: 3.938 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3414, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.3418, allocations: 207.6 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.3418, allocations: 81.02 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3419, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.342, allocations: 15.92 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.342, allocations: 15.92 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.342, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.688e-05/0.3421, allocations: 112.7 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3421, allocations: 0 / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002681/0.3424, allocations: 16 kB / 1.073 GB, free: 4.773 MB / 0.8262 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.0001708/0.3426, allocations: 99.25 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.343, allocations: 107.8 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.343, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.3431, allocations: 39.95 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3435, allocations: 4 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.3439, allocations: 188.2 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3441, allocations: 0.6926 MB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.906e-05/0.3442, allocations: 28.36 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.3443, allocations: 19.42 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3443, allocations: 0 / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.003155/0.3474, allocations: 0.8177 MB / 1.075 GB, free: 2.73 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Bicubic.makefile (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)