Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7304/0.7304, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 192.8 kB / 164.7 MB, free: 6.523 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.456/1.456, allocations: 205.2 MB / 399.5 MB, free: 5.855 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.0008368/0.0008368, allocations: 90.36 kB / 476.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.29e-05, allocations: 8 kB / 0.5466 GB, free: 60.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 76.75 MB / 0.6215 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4307/0.5708, allocations: 101.4 MB / 0.7205 GB, free: 14.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.571, allocations: 78.75 kB / 0.7206 GB, free: 14.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001154/0.5722, allocations: 489.2 kB / 0.7211 GB, free: 13.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5722, allocations: 0 / 0.7211 GB, free: 13.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.5722, allocations: 0 / 0.7211 GB, free: 13.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002647/0.5725, allocations: 313.8 kB / 0.7214 GB, free: 13.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5726, allocations: 8.031 kB / 0.7214 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.5726, allocations: 3.953 kB / 0.7214 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.884e-05/0.5727, allocations: 163.1 kB / 0.7215 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.5727, allocations: 0 / 0.7215 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.5727, allocations: 4 kB / 0.7215 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.226e-05/0.5728, allocations: 0 / 0.7215 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.307e-05/0.5728, allocations: 29.7 kB / 0.7216 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.5728, allocations: 0 / 0.7216 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.5728, allocations: 0 / 0.7216 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5728, allocations: 3.984 kB / 0.7216 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.573, allocations: 130.2 kB / 0.7217 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.345e-05/0.573, allocations: 22.52 kB / 0.7217 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.573, allocations: 12.89 kB / 0.7217 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.5731, allocations: 0 / 0.7217 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.5731, allocations: 30.56 kB / 0.7218 GB, free: 12.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.5731, allocations: 0 / 0.7218 GB, free: 12.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.5732, allocations: 33.7 kB / 0.7218 GB, free: 12.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.5733, allocations: 55.39 kB / 0.7219 GB, free: 12.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.097e-05/0.5733, allocations: 89.03 kB / 0.7219 GB, free: 12.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5733, allocations: 25.7 kB / 0.722 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.5734, allocations: 80.14 kB / 0.722 GB, free: 12.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.5734, allocations: 0 / 0.722 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.5734, allocations: 0 / 0.722 GB, free: 12.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5735, allocations: 313 kB / 0.7223 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.5735, allocations: 7.938 kB / 0.7223 GB, free: 12.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.5736, allocations: 3.938 kB / 0.7223 GB, free: 12.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.735e-05/0.5736, allocations: 8.016 kB / 0.7224 GB, free: 12.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5736, allocations: 0 / 0.7224 GB, free: 12.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.378e-05/0.5737, allocations: 37.69 kB / 0.7224 GB, free: 12.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5737, allocations: 4.938 kB / 0.7224 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5737, allocations: 2.312 kB / 0.7224 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5738, allocations: 0.75 kB / 0.7224 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.5738, allocations: 4 kB / 0.7224 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5738, allocations: 0 / 0.7224 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.5738, allocations: 3.938 kB / 0.7224 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.5739, allocations: 0 / 0.7224 GB, free: 12.19 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 (1): * Single equations (assignments): 1 * 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.632e-05/0.5739, allocations: 113 kB / 0.7225 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-06/0.574, allocations: 0 / 0.7225 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.5741, allocations: 41.38 kB / 0.7226 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5741, allocations: 3.938 kB / 0.7226 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5741, allocations: 4 kB / 0.7226 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5741, allocations: 0 / 0.7226 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.867e-05/0.5742, allocations: 130.9 kB / 0.7227 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5742, allocations: 0.6562 kB / 0.7227 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.5742, allocations: 7.938 kB / 0.7227 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5742, allocations: 3.953 kB / 0.7227 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.5743, allocations: 0 / 0.7227 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5743, allocations: 0 / 0.7227 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5743, allocations: 0 / 0.7227 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/0.5744, allocations: 61.81 kB / 0.7228 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.5744, allocations: 81.14 kB / 0.7228 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.5744, allocations: 3.953 kB / 0.7228 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.189e-05/0.5744, allocations: 0 / 0.7228 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.5745, allocations: 3.938 kB / 0.7228 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.5745, allocations: 4 kB / 0.7228 GB, free: 11.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.495e-05/0.5745, allocations: 75.28 kB / 0.7229 GB, free: 11.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5745, allocations: 0 / 0.7229 GB, free: 11.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.5747, allocations: 8 kB / 0.7229 GB, free: 11.58 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 (1): * Single equations (assignments): 1 * 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.0001477/0.5748, allocations: 111.2 kB / 0.723 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.218e-05/0.5749, allocations: 7.938 kB / 0.723 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5749, allocations: 0 / 0.723 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.5749, allocations: 4 kB / 0.723 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.519e-05/0.575, allocations: 0 / 0.723 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001268/0.5752, allocations: 40.08 kB / 0.7231 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.5754, allocations: 0.6729 MB / 0.7237 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.872e-05/0.5754, allocations: 9.219 kB / 0.7237 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.5754, allocations: 7.438 kB / 0.7238 GB, free: 10.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5754, allocations: 0 / 0.7238 GB, free: 10.68 MB / 490.7 MB Notification: Performance of Templates: time 0.001874/0.5773, allocations: 296.4 kB / 0.724 GB, free: 10.4 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)