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.74/0.74, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001136/0.001136, allocations: 186.6 kB / 173.7 MB, free: 6.121 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.524/1.524, allocations: 205.4 MB / 409 MB, free: 10.46 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.0008548/0.0008548, allocations: 92.47 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 16.22 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 76.77 MB / 0.6354 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.28, allocations: 101.9 MB / 0.7349 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.2804, allocations: 79.89 kB / 0.735 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001185/0.2816, allocations: 0.489 MB / 0.7355 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2816, allocations: 0 / 0.7355 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2816, allocations: 0 / 0.7355 GB, free: 7.824 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.0002954/0.2819, allocations: 319.4 kB / 0.7358 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2819, allocations: 8.031 kB / 0.7358 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.282, allocations: 30.56 kB / 0.7358 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.282, allocations: 3.953 kB / 0.7358 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2821, allocations: 163.1 kB / 0.736 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2822, allocations: 4 kB / 0.736 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.2822, allocations: 0 / 0.736 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.397e-05/0.2823, allocations: 25.7 kB / 0.736 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2823, allocations: 4 kB / 0.736 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2823, allocations: 0 / 0.736 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2823, allocations: 4 kB / 0.736 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.2824, allocations: 11.89 kB / 0.736 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.2825, allocations: 145.7 kB / 0.7361 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.302e-05/0.2825, allocations: 18.61 kB / 0.7362 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.2826, allocations: 0 / 0.7362 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2826, allocations: 34.56 kB / 0.7362 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2826, allocations: 0 / 0.7362 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001295/0.2828, allocations: 41.7 kB / 0.7362 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.2828, allocations: 51.41 kB / 0.7363 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.735e-05/0.2829, allocations: 85 kB / 0.7364 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2829, allocations: 25.7 kB / 0.7364 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.2829, allocations: 80.14 kB / 0.7365 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.2829, allocations: 0 / 0.7365 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-06/0.2829, allocations: 0 / 0.7365 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2831, allocations: 326.9 kB / 0.7368 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.2831, allocations: 0 / 0.7368 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.2831, allocations: 0 / 0.7368 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.947e-05/0.2831, allocations: 11.94 kB / 0.7368 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2831, allocations: 0 / 0.7368 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.401e-05/0.2832, allocations: 37.55 kB / 0.7368 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2832, allocations: 4 kB / 0.7368 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2832, allocations: 0 / 0.7368 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2833, allocations: 4.094 kB / 0.7368 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.2833, allocations: 7.984 kB / 0.7368 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.2833, allocations: 0 / 0.7368 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.2833, allocations: 0 / 0.7368 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2834, allocations: 4 kB / 0.7368 GB, free: 6.184 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.944e-05/0.2834, allocations: 109.8 kB / 0.7369 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.2834, allocations: 7.922 kB / 0.737 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2836, allocations: 48.81 kB / 0.737 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2836, allocations: 0 / 0.737 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2836, allocations: 0 / 0.737 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2836, allocations: 0 / 0.737 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.2837, allocations: 145.6 kB / 0.7371 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2837, allocations: 0 / 0.7371 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.2837, allocations: 11.92 kB / 0.7372 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2837, allocations: 0 / 0.7372 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.2837, allocations: 0 / 0.7372 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2837, allocations: 0 / 0.7372 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2837, allocations: 32 / 0.7372 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.142e-05/0.2838, allocations: 65.09 kB / 0.7372 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.2839, allocations: 77.11 kB / 0.7373 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2839, allocations: 7.984 kB / 0.7373 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.2839, allocations: 0 / 0.7373 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.2839, allocations: 4 kB / 0.7373 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.284, allocations: 0 / 0.7373 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.284, allocations: 79.31 kB / 0.7374 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.284, allocations: 0 / 0.7374 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002149/0.2842, allocations: 8 kB / 0.7374 GB, free: 5.527 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.0004211/0.2846, allocations: 0.6101 MB / 0.738 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.996e-05/0.2847, allocations: 11.97 kB / 0.738 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2847, allocations: 0 / 0.738 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.2847, allocations: 8 kB / 0.738 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.245e-05/0.2848, allocations: 0 / 0.738 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.2851, allocations: 110.6 kB / 0.7381 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.2854, allocations: 0.6731 MB / 0.7388 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2855, allocations: 8.125 kB / 0.7388 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.2855, allocations: 11.38 kB / 0.7388 GB, free: 4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.2855, allocations: 0 / 0.7388 GB, free: 4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.2964, allocations: 0.8278 MB / 0.7396 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.2966, allocations: 188.9 kB / 0.7398 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/1.682, allocations: 3.938 kB / 0.7398 GB, free: 3.074 MB / 0.5105 GB (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)