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.001197/0.001196, allocations: 102.3 kB / 16.4 MB, free: 6.461 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.001117/0.001118, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 293.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8936/0.8936, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.442, allocations: 86.97 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002615/0.4446, allocations: 1.484 MB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003338/0.445, allocations: 120.5 kB / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.445, allocations: 0 / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.4451, allocations: 3.938 kB / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.4452, allocations: 15.86 kB / 0.7686 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.4454, allocations: 31.95 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.4455, allocations: 47.84 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.4456, allocations: 4 kB / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.4456, allocations: 19.92 kB / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.4457, allocations: 19.92 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.4457, allocations: 4 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.4458, allocations: 43.95 kB / 0.7688 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.4459, allocations: 19.91 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.4459, allocations: 23.88 kB / 0.7688 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.4461, allocations: 71.38 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4461, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4461, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4461, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 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.0005312/0.4466, allocations: 381.9 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4467, allocations: 8.031 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.4467, allocations: 8.844 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4468, allocations: 176.2 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4468, allocations: 8.375 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.4469, allocations: 384 / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.4472, allocations: 110.2 kB / 0.7696 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4472, allocations: 192 / 0.7696 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4472, allocations: 7.938 kB / 0.7696 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.4472, allocations: 8 kB / 0.7696 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.4476, allocations: 131.8 kB / 0.7697 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.448, allocations: 340.5 kB / 0.77 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.4482, allocations: 62.47 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.4484, allocations: 40.92 kB / 0.7701 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.4487, allocations: 129.1 kB / 0.7703 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4487, allocations: 38.5 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.464e-06/0.4487, allocations: 0 / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005549/0.4493, allocations: 141.4 kB / 0.7704 GB, free: 224 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4493, allocations: 55.34 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4495, allocations: 148 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.4495, allocations: 25.7 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.4496, allocations: 127.5 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.4496, allocations: 7.906 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.4496, allocations: 33.61 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.4497, allocations: 318.8 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.4499, allocations: 47.95 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.4501, allocations: 124.2 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.4505, allocations: 161.2 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4505, allocations: 0 / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004259/0.4509, allocations: 181.2 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4509, allocations: 8 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4509, allocations: 4 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.451, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4511, allocations: 44.22 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4511, allocations: 11.92 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4513, allocations: 23.91 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.4513, allocations: 8 kB / 0.7717 GB, free: 14.8 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 8.526e-05/0.4514, allocations: 117.8 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.4514, allocations: 7.906 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.4518, allocations: 125.8 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4518, allocations: 3.938 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4518, allocations: 0 / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4518, allocations: 4 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.452, allocations: 173.6 kB / 0.7721 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.452, allocations: 4 kB / 0.7721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/0.4521, allocations: 15.98 kB / 0.7721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4521, allocations: 0 / 0.7721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.4521, allocations: 4 kB / 0.7721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4521, allocations: 3.938 kB / 0.7721 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4521, allocations: 0 / 0.7721 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.4525, allocations: 211.5 kB / 0.7723 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.4525, allocations: 81.02 kB / 0.7724 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4526, allocations: 0 / 0.7724 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4527, allocations: 15.97 kB / 0.7724 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4527, allocations: 19.91 kB / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4527, allocations: 0 / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.4528, allocations: 114.2 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4528, allocations: 4 kB / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002632/0.4531, allocations: 19.94 kB / 0.7726 GB, free: 13.79 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.0001395/0.4532, allocations: 99.25 kB / 0.7727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.4536, allocations: 112.4 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4536, allocations: 0 / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.4538, allocations: 35.95 kB / 0.7728 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.4541, allocations: 10.95 kB / 0.7728 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.4544, allocations: 183.6 kB / 0.773 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4547, allocations: 0.7002 MB / 0.7737 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.4547, allocations: 11.44 kB / 0.7737 GB, free: 12.59 MB / 0.545 GB Notification: Performance of SimCode: time 1.813e-06/0.4547, allocations: 0 / 0.7737 GB, free: 12.59 MB / 0.545 GB Notification: Performance of Templates: time 0.002643/0.4574, allocations: 1.191 MB / 0.7749 GB, free: 11.4 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)