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.8195/0.8195, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 180.1 kB / 191.5 MB, free: 5.766 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.47/1.47, allocations: 223.2 MB / 447.7 MB, free: 4.844 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.0009063/0.0009065, allocations: 92.31 kB / 0.5187 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 261.4 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004713, allocations: 18.38 kB / 0.6929 GB, free: 59.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1893, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.3517, allocations: 107.9 MB / 0.8792 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.352, allocations: 75.95 kB / 0.8793 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001199/0.3532, allocations: 480.8 kB / 0.8797 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.557e-06/0.3533, allocations: 0 / 0.8797 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3533, allocations: 0 / 0.8797 GB, free: 1.18 MB / 0.5417 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.0003415/0.3536, allocations: 319.4 kB / 0.88 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.3537, allocations: 16.03 kB / 0.88 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.3538, allocations: 38.5 kB / 0.8801 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.3538, allocations: 0 / 0.8801 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3539, allocations: 159.1 kB / 0.8802 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.354, allocations: 3.953 kB / 0.8802 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.354, allocations: 0 / 0.8802 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3541, allocations: 33.69 kB / 0.8803 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3541, allocations: 0 / 0.8803 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3541, allocations: 0 / 0.8803 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3542, allocations: 0 / 0.8803 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.446e-05/0.3542, allocations: 4 kB / 0.8803 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.3544, allocations: 149.7 kB / 0.8804 GB, free: 328 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.3544, allocations: 22.47 kB / 0.8804 GB, free: 296 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.3545, allocations: 8.078 kB / 0.8804 GB, free: 288 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3545, allocations: 30.56 kB / 0.8805 GB, free: 248 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 4.408e-06/0.3545, allocations: 0 / 0.8805 GB, free: 248 kB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.3547, allocations: 37.64 kB / 0.8805 GB, free: 204 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3548, allocations: 55.34 kB / 0.8805 GB, free: 136 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.3548, allocations: 85 kB / 0.8806 GB, free: 44 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3548, allocations: 25.7 kB / 0.8807 GB, free: 12 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3779/0.7327, allocations: 84.64 kB / 0.8807 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.7328, allocations: 0.5625 kB / 0.8807 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.7328, allocations: 0 / 0.8807 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.7329, allocations: 313.8 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.7329, allocations: 2.062 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.7329, allocations: 0.5 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.733, allocations: 3.578 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.733, allocations: 0.625 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.82e-05/0.7331, allocations: 38.44 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.7331, allocations: 7.984 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7331, allocations: 0.5625 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.7331, allocations: 0.7188 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.7332, allocations: 2.219 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7332, allocations: 0.75 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.7333, allocations: 1.734 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.7333, allocations: 1.969 kB / 0.8811 GB, free: 108.9 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 () * 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.039e-05/0.7333, allocations: 111.3 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.7334, allocations: 8.188 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.7335, allocations: 44.8 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.7335, allocations: 3.609 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7335, allocations: 0 / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7335, allocations: 0.5938 kB / 0.8813 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.42e-05/0.7336, allocations: 149.1 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7336, allocations: 0 / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.7336, allocations: 6.625 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7336, allocations: 0 / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.7336, allocations: 6.516 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7336, allocations: 1 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7337, allocations: 0 / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.527e-05/0.7337, allocations: 62.98 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.7338, allocations: 78.94 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.7338, allocations: 3.078 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.7338, allocations: 6.469 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.7338, allocations: 1.375 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.7338, allocations: 1.406 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.793e-05/0.7338, allocations: 79.12 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7339, allocations: 0.8125 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002377/0.7341, allocations: 8.594 kB / 0.8816 GB, free: 108.3 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 () * 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.0003285/0.7344, allocations: 0.6098 MB / 0.8822 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.806e-05/0.7345, allocations: 4.188 kB / 0.8822 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7345, allocations: 0 / 0.8822 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.7345, allocations: 3.094 kB / 0.8822 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.7346, allocations: 10.62 kB / 0.8823 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.7349, allocations: 104.5 kB / 0.8824 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.7351, allocations: 0.6733 MB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.7351, allocations: 6.875 kB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.7351, allocations: 9.266 kB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7351, allocations: 0 / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.7465, allocations: 0.8372 MB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.7467, allocations: 199.9 kB / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.232, allocations: 0 / 0.884 GB, free: 106.5 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)