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.005865/0.005865, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001358/0.001358, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001987/0.001987, allocations: 278.4 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9343/0.9343, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 87.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1587, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002407/0.1611, allocations: 1.49 MB / 0.7678 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.1614, allocations: 116.5 kB / 0.768 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.1615, allocations: 0 / 0.768 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.1615, allocations: 3.938 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.1616, allocations: 19.86 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1618, allocations: 23.97 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.1619, allocations: 47.84 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.937e-05/0.162, allocations: 8 kB / 0.7681 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.162, allocations: 19.92 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.1621, allocations: 31.83 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1621, allocations: 4 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.1622, allocations: 35.91 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.1622, allocations: 15.98 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.1623, allocations: 23.81 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1624, allocations: 79.64 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1624, allocations: 0 / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1624, allocations: 0 / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1625, allocations: 4 kB / 0.7683 GB, free: 6.488 MB / 0.5606 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.0004507/0.1629, allocations: 379.2 kB / 0.7686 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.1629, allocations: 8.031 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.163, allocations: 8.891 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1631, allocations: 180.2 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1631, allocations: 384 / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.1631, allocations: 384 / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1634, allocations: 118.2 kB / 0.7689 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1634, allocations: 192 / 0.7689 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1634, allocations: 7.875 kB / 0.7689 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.1634, allocations: 8 kB / 0.7689 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.1638, allocations: 131.8 kB / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1642, allocations: 352.6 kB / 0.7694 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1644, allocations: 50.55 kB / 0.7695 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1646, allocations: 48.91 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.1648, allocations: 121.1 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1649, allocations: 38.5 kB / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1649, allocations: 0 / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005091/0.1654, allocations: 129.6 kB / 0.7698 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1654, allocations: 55.34 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1656, allocations: 155.9 kB / 0.77 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1656, allocations: 25.7 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.1656, allocations: 116 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.1657, allocations: 15.89 kB / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.1657, allocations: 33.66 kB / 0.7702 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.1658, allocations: 314.8 kB / 0.7705 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.166, allocations: 51.94 kB / 0.7705 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.1662, allocations: 113.3 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.1666, allocations: 173.2 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1666, allocations: 0 / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004132/0.167, allocations: 185.3 kB / 0.771 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.167, allocations: 4 kB / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.167, allocations: 4 kB / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.167, allocations: 4 kB / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1672, allocations: 48.16 kB / 0.771 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1672, allocations: 7.938 kB / 0.771 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1673, allocations: 19.94 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1673, allocations: 4 kB / 0.771 GB, free: 3.328 MB / 0.5606 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.161e-05/0.1674, allocations: 126.4 kB / 0.7712 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.1675, allocations: 11.94 kB / 0.7712 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.1678, allocations: 117.8 kB / 0.7713 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1678, allocations: 7.875 kB / 0.7713 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1679, allocations: 0 / 0.7713 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1679, allocations: 0 / 0.7713 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.168, allocations: 177.6 kB / 0.7715 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.168, allocations: 4.281 kB / 0.7715 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.1681, allocations: 15.98 kB / 0.7715 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1681, allocations: 4 kB / 0.7715 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1682, allocations: 4 kB / 0.7715 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1682, allocations: 7.922 kB / 0.7715 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1682, allocations: 0 / 0.7715 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.1686, allocations: 203.4 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1686, allocations: 81.06 kB / 0.7718 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1686, allocations: 4 kB / 0.7718 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1687, allocations: 19.91 kB / 0.7718 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1688, allocations: 4 kB / 0.7718 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1688, allocations: 4 kB / 0.7718 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.1688, allocations: 107.2 kB / 0.7719 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1689, allocations: 4 kB / 0.7719 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002524/0.1691, allocations: 16 kB / 0.7719 GB, free: 2.324 MB / 0.5606 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.0001278/0.1692, allocations: 103.2 kB / 0.772 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.1696, allocations: 108.4 kB / 0.7721 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1696, allocations: 0 / 0.7721 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1698, allocations: 35.95 kB / 0.7722 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.17, allocations: 12.5 kB / 0.7722 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.1703, allocations: 157.8 kB / 0.7723 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1706, allocations: 0.7041 MB / 0.773 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.568e-05/0.1707, allocations: 28.34 kB / 0.773 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1707, allocations: 11.44 kB / 0.773 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1707, allocations: 0 / 0.773 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of Templates: time 0.002978/0.1737, allocations: 0.98 MB / 0.774 GB, free: 148 kB / 0.5606 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)