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/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7656/0.7656, allocations: 140.1 MB / 156 MB, free: 8.41 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.000933/0.000933, allocations: 178.3 kB / 188.5 MB, free: 8.992 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 426.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.0008078, allocations: 90.3 kB / 0.4945 GB, free: 8.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00159/0.00159, allocations: 276.7 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004821, allocations: 24 kB / 0.662 GB, free: 6.703 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3557, allocations: 79.3 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4825, allocations: 106.4 MB / 0.8434 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4828, allocations: 79.95 kB / 0.8435 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001036/0.4839, allocations: 483.2 kB / 0.8439 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4839, allocations: 0 / 0.8439 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4839, allocations: 0 / 0.8439 GB, free: 3.184 MB / 0.5105 GB 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.0003001/0.4842, allocations: 319.5 kB / 0.8442 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4843, allocations: 8.031 kB / 0.8442 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.4843, allocations: 4.938 kB / 0.8443 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4844, allocations: 168.4 kB / 0.8444 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4844, allocations: 4.375 kB / 0.8444 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.4844, allocations: 384 / 0.8444 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.4846, allocations: 30.25 kB / 0.8444 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4846, allocations: 192 / 0.8444 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4846, allocations: 3.938 kB / 0.8445 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4846, allocations: 4 kB / 0.8445 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.4846, allocations: 3.938 kB / 0.8445 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.4848, allocations: 145.7 kB / 0.8446 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.4848, allocations: 22.61 kB / 0.8446 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.4849, allocations: 4.859 kB / 0.8446 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4849, allocations: 64 / 0.8446 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4849, allocations: 38.55 kB / 0.8447 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.485, allocations: 0 / 0.8447 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.4851, allocations: 37.58 kB / 0.8447 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4851, allocations: 55.53 kB / 0.8448 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.778e-05/0.4852, allocations: 93.86 kB / 0.8448 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.4852, allocations: 25.7 kB / 0.8449 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.4852, allocations: 84.14 kB / 0.8449 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.4853, allocations: 3.984 kB / 0.8449 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.4853, allocations: 0 / 0.8449 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4854, allocations: 314.8 kB / 0.8452 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.4854, allocations: 3.984 kB / 0.8453 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.4854, allocations: 4 kB / 0.8453 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.4855, allocations: 8.922 kB / 0.8453 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4855, allocations: 0 / 0.8453 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.14e-05/0.4855, allocations: 41.64 kB / 0.8453 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4855, allocations: 4 kB / 0.8453 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4856, allocations: 0 / 0.8453 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4856, allocations: 3.938 kB / 0.8453 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.849e-05/0.4856, allocations: 4 kB / 0.8453 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4856, allocations: 3.984 kB / 0.8453 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.4857, allocations: 3.938 kB / 0.8453 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4857, allocations: 7.969 kB / 0.8453 GB, free: 1.535 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.4858, allocations: 113.8 kB / 0.8454 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.4858, allocations: 3.906 kB / 0.8454 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.4859, allocations: 48.69 kB / 0.8455 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4859, allocations: 0 / 0.8455 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4859, allocations: 4 kB / 0.8455 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4859, allocations: 4.031 kB / 0.8455 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.422e-05/0.486, allocations: 141.7 kB / 0.8456 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.486, allocations: 0 / 0.8456 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.486, allocations: 0 / 0.8456 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.486, allocations: 4 kB / 0.8456 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.486, allocations: 3.938 kB / 0.8456 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.486, allocations: 3.984 kB / 0.8456 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.486, allocations: 0 / 0.8456 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.407e-05/0.4861, allocations: 61.14 kB / 0.8457 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.4862, allocations: 77.11 kB / 0.8458 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.4862, allocations: 3.938 kB / 0.8458 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.4862, allocations: 3.984 kB / 0.8458 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.4862, allocations: 3.938 kB / 0.8458 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4862, allocations: 8 kB / 0.8458 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.4863, allocations: 75.28 kB / 0.8459 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4863, allocations: 0 / 0.8459 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002065/0.4865, allocations: 8 kB / 0.8459 GB, free: 0.8789 MB / 0.5105 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 (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.0001527/0.4866, allocations: 103.3 kB / 0.846 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.75e-05/0.4867, allocations: 4 kB / 0.846 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4867, allocations: 0 / 0.846 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.4867, allocations: 4 kB / 0.846 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.4869, allocations: 9.188 kB / 0.846 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.487, allocations: 70.7 kB / 0.8461 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.4873, allocations: 0.681 MB / 0.8467 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.4873, allocations: 7.922 kB / 0.8467 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.4873, allocations: 11.44 kB / 0.8467 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.4873, allocations: 0 / 0.8467 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.00193/0.4893, allocations: 276.1 kB / 0.847 GB, free: 15.66 MB / 0.5261 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)