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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7407/0.7407, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.001499/0.001499, allocations: 176.8 kB / 169.7 MB, free: 1.734 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.889/1.889, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.001027/0.001027, allocations: 94.41 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.663e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1736, allocations: 76.75 MB / 0.6283 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.6623, allocations: 101.8 MB / 0.7277 GB, free: 11.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.6626, allocations: 85.88 kB / 0.7277 GB, free: 11.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001225/0.6639, allocations: 484.3 kB / 0.7282 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6639, allocations: 0 / 0.7282 GB, free: 11.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.6639, allocations: 0 / 0.7282 GB, free: 11.09 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.0002896/0.6642, allocations: 311.9 kB / 0.7285 GB, free: 10.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6643, allocations: 12.03 kB / 0.7285 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.6643, allocations: 33.88 kB / 0.7285 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.6644, allocations: 3.953 kB / 0.7285 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.6645, allocations: 163.1 kB / 0.7287 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6645, allocations: 3.938 kB / 0.7287 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.6645, allocations: 0 / 0.7287 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.6646, allocations: 29.7 kB / 0.7287 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6647, allocations: 3 kB / 0.7287 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.6647, allocations: 0 / 0.7287 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.6647, allocations: 4.641 kB / 0.7287 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.6647, allocations: 11.88 kB / 0.7288 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.6649, allocations: 149.4 kB / 0.7289 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.748e-05/0.6649, allocations: 18.58 kB / 0.7289 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.665, allocations: 8.953 kB / 0.7289 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.665, allocations: 0 / 0.7289 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.665, allocations: 32.75 kB / 0.729 GB, free: 10.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.665, allocations: 0 / 0.729 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.6652, allocations: 37.62 kB / 0.729 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.6652, allocations: 62.81 kB / 0.729 GB, free: 10.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.074e-05/0.6652, allocations: 85 kB / 0.7291 GB, free: 9.965 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.6653, allocations: 25.7 kB / 0.7292 GB, free: 9.934 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.6653, allocations: 80.14 kB / 0.7292 GB, free: 9.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.6653, allocations: 0 / 0.7292 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.6653, allocations: 0 / 0.7292 GB, free: 9.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6654, allocations: 314.8 kB / 0.7295 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.6655, allocations: 0 / 0.7295 GB, free: 9.535 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.6655, allocations: 4 kB / 0.7295 GB, free: 9.531 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.822e-05/0.6655, allocations: 4.062 kB / 0.7295 GB, free: 9.527 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6655, allocations: 0 / 0.7295 GB, free: 9.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.27e-05/0.6656, allocations: 41.5 kB / 0.7296 GB, free: 9.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6656, allocations: 4 kB / 0.7296 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6656, allocations: 0 / 0.7296 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6656, allocations: 3.938 kB / 0.7296 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.6657, allocations: 4 kB / 0.7296 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6657, allocations: 1.094 kB / 0.7296 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.6657, allocations: 7.875 kB / 0.7296 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.6657, allocations: 4.031 kB / 0.7296 GB, free: 9.461 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.226e-05/0.6658, allocations: 108.9 kB / 0.7297 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.6658, allocations: 0 / 0.7297 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.6659, allocations: 37.59 kB / 0.7297 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6659, allocations: 0 / 0.7297 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6659, allocations: 0 / 0.7297 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6659, allocations: 4 kB / 0.7297 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.666, allocations: 157.5 kB / 0.7299 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6661, allocations: 0 / 0.7299 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.6661, allocations: 0 / 0.7299 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6661, allocations: 7.938 kB / 0.7299 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.6661, allocations: 0 / 0.7299 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6661, allocations: 3.938 kB / 0.7299 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6661, allocations: 3.938 kB / 0.7299 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.612e-05/0.6662, allocations: 68.52 kB / 0.73 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.6662, allocations: 77.11 kB / 0.7301 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.6663, allocations: 0 / 0.7301 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.6663, allocations: 0 / 0.7301 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.6663, allocations: 0 / 0.7301 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.6663, allocations: 4 kB / 0.7301 GB, free: 8.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.149e-05/0.6663, allocations: 75.28 kB / 0.7301 GB, free: 8.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6663, allocations: 0 / 0.7301 GB, free: 8.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.6665, allocations: 4 kB / 0.7301 GB, free: 8.836 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.0004477/0.667, allocations: 0.6214 MB / 0.7307 GB, free: 8.191 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.6671, allocations: 4 kB / 0.7307 GB, free: 8.188 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6671, allocations: 0 / 0.7307 GB, free: 8.188 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.6671, allocations: 3.125 kB / 0.7307 GB, free: 8.188 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.545e-05/0.6672, allocations: 7.984 kB / 0.7308 GB, free: 8.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.6675, allocations: 80.94 kB / 0.7308 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6678, allocations: 0.677 MB / 0.7315 GB, free: 7.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.769e-05/0.6678, allocations: 3.984 kB / 0.7315 GB, free: 7.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.6678, allocations: 7.438 kB / 0.7315 GB, free: 7.352 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6679, allocations: 0 / 0.7315 GB, free: 7.352 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.6804, allocations: 0.8395 MB / 0.7323 GB, free: 6.625 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.6807, allocations: 176.9 kB / 0.7325 GB, free: 6.391 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.431/2.112, allocations: 0 / 0.7325 GB, free: 6.391 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)