Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.000984/0.000984, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.238/1.238, 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.001986/0.001986, allocations: 290 kB / 291.4 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.8846/0.8846, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 110.4 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 86.96 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.00163/0.1571, allocations: 0.5797 MB / 0.6822 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002038/0.1574, allocations: 40 kB / 0.6822 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.1574, allocations: 0 / 0.6822 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.1574, allocations: 0 / 0.6822 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-06/0.1574, allocations: 0 / 0.6822 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1576, allocations: 12 kB / 0.6822 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.624e-05/0.1577, allocations: 7.922 kB / 0.6822 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1577, allocations: 4 kB / 0.6822 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.219e-05/0.1578, allocations: 4 kB / 0.6822 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.1578, allocations: 0 / 0.6822 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.1578, allocations: 0 / 0.6822 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.1579, allocations: 23.92 kB / 0.6823 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1579, allocations: 3.984 kB / 0.6823 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.1579, allocations: 0 / 0.6823 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.158, allocations: 11.98 kB / 0.6823 GB, free: 6.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.158, allocations: 3.984 kB / 0.6823 GB, free: 6.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.158, allocations: 0 / 0.6823 GB, free: 6.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.158, allocations: 0 / 0.6823 GB, free: 6.746 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002431/0.1583, allocations: 315.6 kB / 0.6826 GB, free: 6.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1583, allocations: 12.03 kB / 0.6826 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.1583, allocations: 0.9375 kB / 0.6826 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.1584, allocations: 164.4 kB / 0.6827 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1584, allocations: 384 / 0.6827 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1585, allocations: 384 / 0.6827 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.739e-05/0.1585, allocations: 30.27 kB / 0.6828 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1586, allocations: 192 / 0.6828 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1586, allocations: 11.81 kB / 0.6828 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1586, allocations: 0 / 0.6828 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.1586, allocations: 11.92 kB / 0.6828 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.1587, allocations: 153.7 kB / 0.6829 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.544e-05/0.1588, allocations: 14.58 kB / 0.683 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.1588, allocations: 8.953 kB / 0.683 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.1588, allocations: 0 / 0.683 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1589, allocations: 30.56 kB / 0.683 GB, free: 5.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 4.829e-06/0.1589, allocations: 4 kB / 0.683 GB, free: 5.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000126/0.159, allocations: 45.58 kB / 0.683 GB, free: 5.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.159, allocations: 51.41 kB / 0.6831 GB, free: 5.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.413e-05/0.1591, allocations: 89.86 kB / 0.6832 GB, free: 5.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1591, allocations: 29.69 kB / 0.6832 GB, free: 5.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.1591, allocations: 80.14 kB / 0.6833 GB, free: 5.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1592, allocations: 0 / 0.6833 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.1592, allocations: 13.72 kB / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1593, allocations: 315 kB / 0.6836 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.1593, allocations: 0 / 0.6836 GB, free: 5.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-06/0.1593, allocations: 0 / 0.6836 GB, free: 5.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.1594, allocations: 16.8 kB / 0.6836 GB, free: 5.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1594, allocations: 0 / 0.6836 GB, free: 5.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.224e-05/0.1594, allocations: 37.69 kB / 0.6836 GB, free: 5.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1594, allocations: 4 kB / 0.6836 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1595, allocations: 0 / 0.6836 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1595, allocations: 3.938 kB / 0.6837 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.1595, allocations: 8.094 kB / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1595, allocations: 0 / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.1596, allocations: 0 / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1596, allocations: 0 / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.828e-05/0.1597, allocations: 109.8 kB / 0.6838 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1597, allocations: 0 / 0.6838 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1598, allocations: 56.62 kB / 0.6838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1598, allocations: 4 kB / 0.6838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1598, allocations: 4 kB / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1598, allocations: 0 / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.793e-05/0.1599, allocations: 145.7 kB / 0.684 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1599, allocations: 3.938 kB / 0.684 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.1599, allocations: 4 kB / 0.684 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1599, allocations: 0 / 0.684 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1599, allocations: 3.938 kB / 0.684 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1599, allocations: 0 / 0.684 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1599, allocations: 32 / 0.684 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.636e-05/0.16, allocations: 65.12 kB / 0.684 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.1601, allocations: 81.05 kB / 0.6841 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1601, allocations: 7.875 kB / 0.6841 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.1601, allocations: 0 / 0.6841 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.1601, allocations: 0 / 0.6841 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1601, allocations: 4 kB / 0.6841 GB, free: 4.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.746e-05/0.1602, allocations: 79.31 kB / 0.6842 GB, free: 4.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 0 / 0.6842 GB, free: 4.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.1603, allocations: 8 kB / 0.6842 GB, free: 4.43 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 (1): * Single equations (assignments): 1 * 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.0001491/0.1605, allocations: 106.2 kB / 0.6843 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.49e-05/0.1606, allocations: 8 kB / 0.6843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1606, allocations: 0 / 0.6843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.767e-06/0.1606, allocations: 4 kB / 0.6843 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.1607, allocations: 2.344 kB / 0.6843 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.1609, allocations: 88.05 kB / 0.6844 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.1612, allocations: 0.6729 MB / 0.6851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.259e-05/0.1612, allocations: 3.984 kB / 0.6851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.1612, allocations: 11.44 kB / 0.6851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1613, allocations: 0 / 0.6851 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Templates: time 0.002111/0.1634, allocations: 292.5 kB / 0.6854 GB, free: 3.195 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)