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.001239/0.001239, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001214/0.001214, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 284.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9127/0.9127, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 94.86 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002595/0.1545, allocations: 1.482 MB / 0.683 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.1548, allocations: 120.5 kB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.1549, allocations: 0 / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.1549, allocations: 3.938 kB / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.155, allocations: 15.92 kB / 0.6832 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.1552, allocations: 31.89 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.1553, allocations: 39.86 kB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1554, allocations: 15.98 kB / 0.6833 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.1555, allocations: 19.92 kB / 0.6833 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.1555, allocations: 19.92 kB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1555, allocations: 4 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.1556, allocations: 39.95 kB / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.1557, allocations: 15.94 kB / 0.6834 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.1557, allocations: 23.84 kB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1559, allocations: 83.61 kB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1559, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1559, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1559, allocations: 0 / 0.6835 GB, free: 5.523 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.0005125/0.1564, allocations: 371.4 kB / 0.6838 GB, free: 5.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1564, allocations: 16.03 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.1565, allocations: 4.844 kB / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1566, allocations: 184.2 kB / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1566, allocations: 384 / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1566, allocations: 8.312 kB / 0.684 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.1569, allocations: 117 kB / 0.6841 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1569, allocations: 192 / 0.6841 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1569, allocations: 3.938 kB / 0.6841 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.157, allocations: 15.98 kB / 0.6842 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.1573, allocations: 115.9 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1577, allocations: 348.5 kB / 0.6846 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1579, allocations: 62.47 kB / 0.6847 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1581, allocations: 36.92 kB / 0.6847 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.1584, allocations: 125.1 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1584, allocations: 30.56 kB / 0.6848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1584, allocations: 0 / 0.6848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004798/0.1589, allocations: 133.6 kB / 0.685 GB, free: 3.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1589, allocations: 59.28 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.159, allocations: 145.7 kB / 0.6852 GB, free: 3.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1591, allocations: 25.7 kB / 0.6852 GB, free: 3.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.1591, allocations: 123.7 kB / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1592, allocations: 15.83 kB / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.1592, allocations: 29.72 kB / 0.6853 GB, free: 3.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1593, allocations: 318.8 kB / 0.6857 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1595, allocations: 47.95 kB / 0.6857 GB, free: 3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.1597, allocations: 124.2 kB / 0.6858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.16, allocations: 165.2 kB / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.16, allocations: 3.938 kB / 0.686 GB, free: 2.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003773/0.1604, allocations: 181.3 kB / 0.6862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1604, allocations: 4 kB / 0.6862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1604, allocations: 4.312 kB / 0.6862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1605, allocations: 8 kB / 0.6862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1606, allocations: 43.84 kB / 0.6862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1606, allocations: 4 kB / 0.6862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.996e-05/0.1607, allocations: 19.89 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1608, allocations: 8 kB / 0.6862 GB, free: 2.375 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.574e-05/0.1609, allocations: 133.7 kB / 0.6864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.1609, allocations: 3.906 kB / 0.6864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.1612, allocations: 118.1 kB / 0.6865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1613, allocations: 7.969 kB / 0.6865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.1613, allocations: 0 / 0.6865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1613, allocations: 7.984 kB / 0.6865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1615, allocations: 169.7 kB / 0.6867 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1615, allocations: 0 / 0.6867 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.1616, allocations: 27.91 kB / 0.6867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1616, allocations: 0 / 0.6867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1616, allocations: 7.938 kB / 0.6867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1616, allocations: 3.938 kB / 0.6867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1616, allocations: 0 / 0.6867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.1619, allocations: 199.4 kB / 0.6869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.162, allocations: 85.02 kB / 0.687 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.162, allocations: 0 / 0.687 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1621, allocations: 19.92 kB / 0.687 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.1622, allocations: 3.984 kB / 0.687 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.1622, allocations: 4 kB / 0.687 GB, free: 1.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.1623, allocations: 109.8 kB / 0.6871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1623, allocations: 0 / 0.6871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1625, allocations: 16 kB / 0.6871 GB, free: 1.371 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.0001708/0.1627, allocations: 111.2 kB / 0.6872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.1631, allocations: 104.3 kB / 0.6873 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1631, allocations: 0 / 0.6873 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1632, allocations: 39.91 kB / 0.6874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1636, allocations: 8 kB / 0.6874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.164, allocations: 166.1 kB / 0.6875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1644, allocations: 0.6924 MB / 0.6882 GB, free: 204 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.037e-05/0.1644, allocations: 24.41 kB / 0.6882 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.1645, allocations: 11.44 kB / 0.6882 GB, free: 168 kB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1645, allocations: 0 / 0.6882 GB, free: 168 kB / 494.1 MB Notification: Performance of Templates: time 0.242/0.4065, allocations: 0.949 MB / 0.6892 GB, free: 17.55 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)