Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7784/0.7784, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 175.7 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008606/0.0008607, allocations: 82.22 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.472e-05, allocations: 7.938 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 76.76 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5044/0.6473, allocations: 102.5 MB / 0.7282 GB, free: 10.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.6476, allocations: 71.83 kB / 0.7283 GB, free: 10.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002416/0.6501, allocations: 0.7892 MB / 0.7291 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6501, allocations: 0 / 0.7291 GB, free: 10.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.6501, allocations: 0 / 0.7291 GB, free: 10.08 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000356/0.6505, allocations: 333.5 kB / 0.7294 GB, free: 9.711 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6505, allocations: 16.03 kB / 0.7294 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.6506, allocations: 6.641 kB / 0.7294 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6507, allocations: 167.6 kB / 0.7296 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.6507, allocations: 0 / 0.7296 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.6507, allocations: 0 / 0.7296 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.6509, allocations: 48.81 kB / 0.7296 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.6509, allocations: 4.531 kB / 0.7296 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.6509, allocations: 0 / 0.7296 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.6509, allocations: 0 / 0.7296 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.651, allocations: 15.36 kB / 0.7296 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.6514, allocations: 276.2 kB / 0.7299 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.228e-05/0.6515, allocations: 32.56 kB / 0.7299 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.6515, allocations: 16.78 kB / 0.7299 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.6516, allocations: 8 kB / 0.73 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.6516, allocations: 30.56 kB / 0.73 GB, free: 9.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.6516, allocations: 3.938 kB / 0.73 GB, free: 9.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001705/0.6518, allocations: 48.45 kB / 0.73 GB, free: 8.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.6518, allocations: 51.41 kB / 0.7301 GB, free: 8.902 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.6519, allocations: 96.62 kB / 0.7302 GB, free: 8.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.6519, allocations: 29.58 kB / 0.7302 GB, free: 8.773 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.652, allocations: 84.14 kB / 0.7303 GB, free: 8.688 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.652, allocations: 11.88 kB / 0.7303 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.652, allocations: 0 / 0.7303 GB, free: 8.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6522, allocations: 317.9 kB / 0.7306 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.6522, allocations: 7.875 kB / 0.7306 GB, free: 8.355 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.6522, allocations: 11.94 kB / 0.7306 GB, free: 8.344 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.225e-05/0.6522, allocations: 7.812 kB / 0.7306 GB, free: 8.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6522, allocations: 0 / 0.7306 GB, free: 8.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.674e-05/0.6523, allocations: 45.19 kB / 0.7307 GB, free: 8.293 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6524, allocations: 8.094 kB / 0.7307 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6524, allocations: 0 / 0.7307 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6524, allocations: 0 / 0.7307 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.6525, allocations: 19.92 kB / 0.7307 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.6525, allocations: 3.953 kB / 0.7307 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.6526, allocations: 11.73 kB / 0.7307 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.6526, allocations: 4 kB / 0.7307 GB, free: 8.25 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.6527, allocations: 105 kB / 0.7308 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.6527, allocations: 3.906 kB / 0.7308 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.6528, allocations: 60.28 kB / 0.7309 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6528, allocations: 0 / 0.7309 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6528, allocations: 3.984 kB / 0.7309 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6529, allocations: 3.953 kB / 0.7309 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.653, allocations: 160.7 kB / 0.731 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.653, allocations: 0 / 0.731 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.6531, allocations: 16.02 kB / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6531, allocations: 0 / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.6532, allocations: 0 / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.6532, allocations: 0 / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6532, allocations: 0 / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.6533, allocations: 150.4 kB / 0.7312 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.6534, allocations: 81.02 kB / 0.7313 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.6534, allocations: 3.984 kB / 0.7313 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.6535, allocations: 12.03 kB / 0.7313 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.6535, allocations: 3.984 kB / 0.7313 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.6535, allocations: 0 / 0.7313 GB, free: 7.586 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.358e-05/0.6536, allocations: 86.72 kB / 0.7314 GB, free: 7.504 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6536, allocations: 0 / 0.7314 GB, free: 7.504 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.6538, allocations: 11.94 kB / 0.7314 GB, free: 7.492 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.654, allocations: 110.3 kB / 0.7315 GB, free: 7.379 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.654, allocations: 22.02 kB / 0.7315 GB, free: 7.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6541, allocations: 4 kB / 0.7315 GB, free: 7.359 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.6541, allocations: 11.62 kB / 0.7315 GB, free: 7.352 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.6542, allocations: 7.953 kB / 0.7315 GB, free: 7.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.6544, allocations: 64.86 kB / 0.7316 GB, free: 7.262 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.6547, allocations: 0.6848 MB / 0.7323 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.338e-05/0.6547, allocations: 4.125 kB / 0.7323 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.6547, allocations: 7.438 kB / 0.7323 GB, free: 6.539 MB / 490.7 MB Notification: Performance of SimCode: time 2e-07/0.6547, allocations: 0 / 0.7323 GB, free: 6.539 MB / 490.7 MB Notification: Performance of Templates: time 0.002307/0.657, allocations: 486.7 kB / 0.7327 GB, free: 6.082 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)