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 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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.818/0.818, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 182.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 90.53 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001875, allocations: 275.9 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.818e-05/5.82e-05, allocations: 11.98 kB / 0.6836 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5455, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.6821, allocations: 107.8 MB / 0.8697 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6825, allocations: 85.59 kB / 0.8698 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001346/0.6838, allocations: 483.5 kB / 0.8702 GB, free: 152 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6839, allocations: 0 / 0.8702 GB, free: 152 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.6839, allocations: 0.5938 kB / 0.8702 GB, free: 152 kB / 0.5261 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.0003386/0.6842, allocations: 307.1 kB / 0.8705 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/0.6843, allocations: 8.531 kB / 0.8705 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.6844, allocations: 30.56 kB / 0.8706 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.6844, allocations: 4.719 kB / 0.8706 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.6846, allocations: 163.9 kB / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6846, allocations: 3.953 kB / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.6846, allocations: 3.156 kB / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.6847, allocations: 29.7 kB / 0.8708 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.6847, allocations: 3.938 kB / 0.8708 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6847, allocations: 4 kB / 0.8708 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.6848, allocations: 0 / 0.8708 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.6848, allocations: 0 / 0.8708 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.685, allocations: 149.7 kB / 0.8709 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.6851, allocations: 25.41 kB / 0.8709 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.6851, allocations: 8.797 kB / 0.8709 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.6851, allocations: 4.062 kB / 0.8709 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.6852, allocations: 30.56 kB / 0.871 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 3.576e-06/0.6852, allocations: 4 kB / 0.871 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.6854, allocations: 37.64 kB / 0.871 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.6854, allocations: 51.41 kB / 0.8711 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.6855, allocations: 85 kB / 0.8711 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.6855, allocations: 25.7 kB / 0.8712 GB, free: 15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.6855, allocations: 84.14 kB / 0.8712 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.6856, allocations: 0 / 0.8712 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.6856, allocations: 0 / 0.8712 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6857, allocations: 314.8 kB / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.6857, allocations: 7.969 kB / 0.8716 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.6857, allocations: 4 kB / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.6858, allocations: 0 / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6858, allocations: 0 / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.008e-05/0.6859, allocations: 37.64 kB / 0.8716 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6859, allocations: 11.95 kB / 0.8716 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6859, allocations: 0 / 0.8716 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.6859, allocations: 0 / 0.8716 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.686, allocations: 8.062 kB / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.686, allocations: 8 kB / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.686, allocations: 3.938 kB / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.6861, allocations: 0 / 0.8716 GB, free: 14.51 MB / 0.5417 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 () * 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 8.251e-05/0.6861, allocations: 101 kB / 0.8717 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.6862, allocations: 0 / 0.8717 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.6863, allocations: 52.7 kB / 0.8718 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6863, allocations: 0 / 0.8718 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6863, allocations: 0 / 0.8718 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6863, allocations: 0 / 0.8718 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.6865, allocations: 153.6 kB / 0.8719 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6865, allocations: 0 / 0.8719 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.6865, allocations: 0 / 0.8719 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6865, allocations: 0 / 0.8719 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.6865, allocations: 3.984 kB / 0.8719 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6865, allocations: 7.953 kB / 0.8719 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6865, allocations: 0 / 0.8719 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.519e-05/0.6866, allocations: 57.17 kB / 0.872 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.6867, allocations: 77.11 kB / 0.8721 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.6867, allocations: 4 kB / 0.8721 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.6867, allocations: 3.984 kB / 0.8721 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.6867, allocations: 3.953 kB / 0.8721 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.6868, allocations: 3.938 kB / 0.8721 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.828e-05/0.6868, allocations: 75.28 kB / 0.8721 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6868, allocations: 7.969 kB / 0.8721 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001975/0.687, allocations: 8 kB / 0.8722 GB, free: 13.86 MB / 0.5417 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 () * 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.0005805/0.6876, allocations: 0.6007 MB / 0.8727 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.359e-05/0.6877, allocations: 4 kB / 0.8727 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6877, allocations: 4.094 kB / 0.8728 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-06/0.6877, allocations: 3.938 kB / 0.8728 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.6878, allocations: 3.953 kB / 0.8728 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.6882, allocations: 86.89 kB / 0.8728 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.6885, allocations: 0.6731 MB / 0.8735 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.6885, allocations: 64 / 0.8735 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.6885, allocations: 11.44 kB / 0.8735 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.6885, allocations: 0 / 0.8735 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.7261, allocations: 0.8423 MB / 0.8743 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.7264, allocations: 173.2 kB / 0.8745 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.497, allocations: 0.625 kB / 0.8745 GB, free: 11.47 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)