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.001382/0.001382, allocations: 103.1 kB / 16.41 MB, free: 6.457 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.001309/0.001309, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.423/1.423, 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.002494/0.002494, allocations: 295.2 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.9996/0.9996, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.441, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002524/0.4436, allocations: 1.48 MB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003369/0.4439, allocations: 132.4 kB / 0.7686 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.4439, allocations: 0 / 0.7686 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.444, allocations: 3.938 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.444, allocations: 7.938 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.4442, allocations: 31.89 kB / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.058e-05/0.4443, allocations: 39.92 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.4444, allocations: 19.95 kB / 0.7687 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.4444, allocations: 15.92 kB / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.4445, allocations: 23.92 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.4445, allocations: 4 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.333e-05/0.4446, allocations: 39.95 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.4446, allocations: 11.94 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.4447, allocations: 31.8 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.4448, allocations: 73.77 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4448, allocations: 4 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4448, allocations: 0 / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4448, allocations: 0 / 0.7689 GB, free: 1.98 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.0005804/0.4454, allocations: 378.8 kB / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.4454, allocations: 12.03 kB / 0.7693 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.4455, allocations: 4.891 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4456, allocations: 176.3 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.4456, allocations: 4.375 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.4456, allocations: 4.375 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.4459, allocations: 114.1 kB / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4459, allocations: 192 / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.446, allocations: 7.938 kB / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.446, allocations: 11.98 kB / 0.7696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.4464, allocations: 127.8 kB / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.4468, allocations: 344.7 kB / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.447, allocations: 62.47 kB / 0.7701 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.4472, allocations: 36.86 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.4475, allocations: 129.1 kB / 0.7703 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.4475, allocations: 38.5 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.4475, allocations: 0 / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005745/0.4481, allocations: 133.5 kB / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4482, allocations: 55.34 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4483, allocations: 160.3 kB / 0.7706 GB, free: 12 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.4483, allocations: 25.7 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.4484, allocations: 115.8 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.4484, allocations: 15.94 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.4485, allocations: 29.67 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4486, allocations: 322.8 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.4488, allocations: 43.95 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.4491, allocations: 113.4 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.4494, allocations: 169.2 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4494, allocations: 0 / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004655/0.4499, allocations: 181.3 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4499, allocations: 4 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4499, allocations: 4 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4499, allocations: 4 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.4501, allocations: 43.84 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4501, allocations: 4.312 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.4502, allocations: 27.88 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4503, allocations: 8 kB / 0.7717 GB, free: 14.82 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.824e-05/0.4504, allocations: 125.8 kB / 0.7718 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.4504, allocations: 7.953 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.4508, allocations: 114.1 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4508, allocations: 7.938 kB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4508, allocations: 48 / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4508, allocations: 7.969 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.451, allocations: 173.6 kB / 0.7721 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.451, allocations: 3.938 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4511, allocations: 27.97 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4511, allocations: 0 / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4511, allocations: 0 / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.4511, allocations: 7.875 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4511, allocations: 0 / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.4516, allocations: 199.4 kB / 0.7723 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.4516, allocations: 85.06 kB / 0.7724 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4516, allocations: 0 / 0.7724 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.4517, allocations: 23.92 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.4518, allocations: 0 / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.4518, allocations: 11.92 kB / 0.7725 GB, free: 13.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.4519, allocations: 103.3 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4519, allocations: 0 / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002671/0.4521, allocations: 20 kB / 0.7726 GB, free: 13.82 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.0001657/0.4523, allocations: 111.2 kB / 0.7727 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.4527, allocations: 99.84 kB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4527, allocations: 0.625 kB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4529, allocations: 39.91 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.4532, allocations: 10.97 kB / 0.7728 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.4536, allocations: 161.8 kB / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.4539, allocations: 0.6924 MB / 0.7737 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.935e-05/0.454, allocations: 32.39 kB / 0.7737 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.454, allocations: 11.44 kB / 0.7737 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.454, allocations: 4 kB / 0.7737 GB, free: 12.61 MB / 0.545 GB Notification: Performance of Templates: time 0.003647/0.4577, allocations: 0.9712 MB / 0.7747 GB, free: 11.64 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)