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.7135/0.7135, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 192.8 kB / 164.7 MB, free: 6.52 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.618/1.618, allocations: 205.2 MB / 399.5 MB, free: 5.867 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.0009976/0.0009977, allocations: 90.05 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.163e-05, allocations: 8 kB / 0.5467 GB, free: 60.37 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 76.76 MB / 0.6216 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.5945, allocations: 101.4 MB / 0.7207 GB, free: 13.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.5948, allocations: 78.64 kB / 0.7208 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001125/0.5959, allocations: 487.4 kB / 0.7212 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5959, allocations: 1.594 kB / 0.7212 GB, free: 13.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.596, allocations: 0 / 0.7212 GB, free: 13.36 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.0002535/0.5962, allocations: 312.6 kB / 0.7215 GB, free: 13.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5963, allocations: 9.25 kB / 0.7215 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.5963, allocations: 3.953 kB / 0.7215 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.5964, allocations: 163.1 kB / 0.7217 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.5964, allocations: 4 kB / 0.7217 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.5965, allocations: 4 kB / 0.7217 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.193e-05/0.5965, allocations: 3.812 kB / 0.7217 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.248e-05/0.5966, allocations: 33.52 kB / 0.7217 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5966, allocations: 7.922 kB / 0.7218 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.5966, allocations: 0 / 0.7218 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.5966, allocations: 2.188 kB / 0.7218 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.5967, allocations: 134.2 kB / 0.7219 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.5968, allocations: 22.52 kB / 0.7219 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.5968, allocations: 8.953 kB / 0.7219 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.5968, allocations: 0 / 0.7219 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.5968, allocations: 30.56 kB / 0.7219 GB, free: 12.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.5969, allocations: 0 / 0.7219 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.597, allocations: 37.27 kB / 0.722 GB, free: 12.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.597, allocations: 51.41 kB / 0.722 GB, free: 12.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.279e-05/0.5971, allocations: 89.03 kB / 0.7221 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.5971, allocations: 25.7 kB / 0.7221 GB, free: 12.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.5971, allocations: 80.14 kB / 0.7222 GB, free: 12.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.5971, allocations: 3.984 kB / 0.7222 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.5972, allocations: 0 / 0.7222 GB, free: 12.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.5972, allocations: 310.8 kB / 0.7225 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.5973, allocations: 4 kB / 0.7225 GB, free: 11.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.5973, allocations: 0 / 0.7225 GB, free: 11.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.5973, allocations: 7.891 kB / 0.7225 GB, free: 11.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5973, allocations: 4.062 kB / 0.7225 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.312e-05/0.5974, allocations: 33.7 kB / 0.7226 GB, free: 11.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5974, allocations: 4.656 kB / 0.7226 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5974, allocations: 3.984 kB / 0.7226 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.5974, allocations: 0 / 0.7226 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.5975, allocations: 4 kB / 0.7226 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.5975, allocations: 0 / 0.7226 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.5975, allocations: 7.625 kB / 0.7226 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.5975, allocations: 3.938 kB / 0.7226 GB, free: 11.8 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.084e-05/0.5976, allocations: 113 kB / 0.7227 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.013e-05/0.5977, allocations: 33.64 kB / 0.7227 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.5977, allocations: 4.766 kB / 0.7227 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5978, allocations: 37.45 kB / 0.7228 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.5978, allocations: 0 / 0.7228 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5978, allocations: 0 / 0.7228 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5978, allocations: 64 / 0.7228 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.874e-05/0.5979, allocations: 134.2 kB / 0.7229 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.5979, allocations: 0 / 0.7229 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.5979, allocations: 4 kB / 0.7229 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5979, allocations: 0 / 0.7229 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.5979, allocations: 3.875 kB / 0.7229 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.5979, allocations: 0 / 0.7229 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.598, allocations: 3.938 kB / 0.7229 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.002e-05/0.5981, allocations: 69.02 kB / 0.723 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.5981, allocations: 81.02 kB / 0.723 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.5981, allocations: 0 / 0.723 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.5981, allocations: 7.188 kB / 0.7231 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.5982, allocations: 0 / 0.7231 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.5982, allocations: 0 / 0.7231 GB, free: 11.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.5982, allocations: 75.28 kB / 0.7231 GB, free: 11.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5982, allocations: 0 / 0.7231 GB, free: 11.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.5984, allocations: 4 kB / 0.7231 GB, free: 11.16 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.0003794/0.5988, allocations: 0.6111 MB / 0.7237 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.09e-05/0.5988, allocations: 7.938 kB / 0.7237 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5988, allocations: 0 / 0.7237 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-06/0.5989, allocations: 4 kB / 0.7237 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.233e-05/0.5989, allocations: 4.766 kB / 0.7237 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.5992, allocations: 77.77 kB / 0.7238 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.5995, allocations: 0.6768 MB / 0.7245 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.397e-05/0.5995, allocations: 0 / 0.7245 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.5995, allocations: 11.44 kB / 0.7245 GB, free: 9.684 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5995, allocations: 0 / 0.7245 GB, free: 9.684 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.6171, allocations: 0.5368 MB / 0.725 GB, free: 9.156 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.6174, allocations: 163 kB / 0.7252 GB, free: 8.953 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.308/1.925, allocations: 0 / 0.7252 GB, free: 8.953 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)