Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal",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.9647/0.9647, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001203/0.001203, allocations: 176.8 kB / 169.7 MB, free: 1.746 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.983/1.983, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.000934/0.0009343, allocations: 94.34 kB / 481.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.929e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.169, allocations: 76.76 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5645/0.7336, allocations: 102.5 MB / 0.7283 GB, free: 10.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.7338, allocations: 75.02 kB / 0.7284 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002206/0.736, allocations: 0.7843 MB / 0.7292 GB, free: 10.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7361, allocations: 8 kB / 0.7292 GB, free: 10.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.7361, allocations: 0 / 0.7292 GB, free: 10.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003466/0.7364, allocations: 338.5 kB / 0.7295 GB, free: 9.719 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7365, allocations: 12.03 kB / 0.7295 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.7365, allocations: 30.56 kB / 0.7295 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.7366, allocations: 4.734 kB / 0.7295 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.7367, allocations: 170.4 kB / 0.7297 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.7367, allocations: 4 kB / 0.7297 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.7367, allocations: 0 / 0.7297 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.7368, allocations: 49.42 kB / 0.7298 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.7368, allocations: 0.6562 kB / 0.7298 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.7369, allocations: 0 / 0.7298 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.7369, allocations: 0 / 0.7298 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.7369, allocations: 19.75 kB / 0.7298 GB, free: 9.391 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.7373, allocations: 275.9 kB / 0.73 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.7374, allocations: 33.58 kB / 0.7301 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.7375, allocations: 18.55 kB / 0.7301 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.7375, allocations: 0 / 0.7301 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.7375, allocations: 33.88 kB / 0.7301 GB, free: 8.988 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.7375, allocations: 0 / 0.7301 GB, free: 8.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.7377, allocations: 52.64 kB / 0.7302 GB, free: 8.934 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.7377, allocations: 55.41 kB / 0.7302 GB, free: 8.867 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.7378, allocations: 96.11 kB / 0.7303 GB, free: 8.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.7379, allocations: 29.7 kB / 0.7303 GB, free: 8.734 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.7379, allocations: 83.27 kB / 0.7304 GB, free: 8.652 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.7379, allocations: 7.844 kB / 0.7304 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.7379, allocations: 0 / 0.7304 GB, free: 8.645 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7381, allocations: 318.3 kB / 0.7307 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.7381, allocations: 19.77 kB / 0.7308 GB, free: 8.312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.7381, allocations: 4 kB / 0.7308 GB, free: 8.309 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.7381, allocations: 7.688 kB / 0.7308 GB, free: 8.305 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.7382, allocations: 0 / 0.7308 GB, free: 8.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.749e-05/0.7382, allocations: 45.31 kB / 0.7308 GB, free: 8.258 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7383, allocations: 4 kB / 0.7308 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7383, allocations: 4 kB / 0.7308 GB, free: 8.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7383, allocations: 0 / 0.7308 GB, free: 8.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.7384, allocations: 23.77 kB / 0.7308 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.7384, allocations: 3.953 kB / 0.7308 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.7385, allocations: 4 kB / 0.7308 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.7385, allocations: 4 kB / 0.7309 GB, free: 8.219 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 (2): * Single equations (assignments): 2 * 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.058e-05/0.7386, allocations: 105 kB / 0.731 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.7386, allocations: 3.906 kB / 0.731 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.7387, allocations: 64.78 kB / 0.731 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.7387, allocations: 0 / 0.731 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7387, allocations: 0 / 0.731 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7387, allocations: 3.953 kB / 0.731 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.7389, allocations: 164.6 kB / 0.7312 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7389, allocations: 0 / 0.7312 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.739, allocations: 11.98 kB / 0.7312 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.739, allocations: 0 / 0.7312 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.739, allocations: 0 / 0.7312 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.739, allocations: 0 / 0.7312 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.739, allocations: 4.031 kB / 0.7312 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.7392, allocations: 154 kB / 0.7313 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.992e-05/0.7392, allocations: 81.02 kB / 0.7314 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.7392, allocations: 0 / 0.7314 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.7393, allocations: 11.98 kB / 0.7314 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.7394, allocations: 3.938 kB / 0.7314 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.7394, allocations: 8.031 kB / 0.7314 GB, free: 7.547 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.7394, allocations: 87.2 kB / 0.7315 GB, free: 7.465 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7394, allocations: 0 / 0.7315 GB, free: 7.465 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.7397, allocations: 8 kB / 0.7315 GB, free: 7.457 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 (2): * Single equations (assignments): 2 * 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.0003966/0.7401, allocations: 0.6805 MB / 0.7322 GB, free: 6.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.7402, allocations: 19 kB / 0.7322 GB, free: 6.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7402, allocations: 4 kB / 0.7322 GB, free: 6.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.7402, allocations: 7.375 kB / 0.7322 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.7404, allocations: 4 kB / 0.7322 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.7407, allocations: 110.3 kB / 0.7323 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.741, allocations: 0.677 MB / 0.733 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.741, allocations: 8.125 kB / 0.733 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.741, allocations: 7.438 kB / 0.733 GB, free: 5.875 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.741, allocations: 3.938 kB / 0.733 GB, free: 5.871 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.7533, allocations: 1.171 MB / 0.7342 GB, free: 4.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.7536, allocations: 160.4 kB / 0.7343 GB, free: 4.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.258, allocations: 0 / 0.7343 GB, free: 4.59 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)