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.7841/0.7841, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001181/0.001181, allocations: 172.4 kB / 173.7 MB, free: 6.145 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.721/1.721, allocations: 205.4 MB / 409 MB, free: 10.53 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.0008323/0.0008323, allocations: 94.78 kB / 486.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 14.19 kB / 0.5604 GB, free: 97.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 76.76 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.2759, allocations: 102.6 MB / 0.7356 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.2762, allocations: 79.95 kB / 0.7356 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002589/0.2788, allocations: 0.7895 MB / 0.7364 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.317e-06/0.2788, allocations: 4 kB / 0.7364 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2789, allocations: 0 / 0.7364 GB, free: 6.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004171/0.2793, allocations: 351.2 kB / 0.7368 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.2794, allocations: 8.031 kB / 0.7368 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.2794, allocations: 34.56 kB / 0.7368 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.2794, allocations: 3.953 kB / 0.7368 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2796, allocations: 163 kB / 0.737 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.2796, allocations: 11.98 kB / 0.737 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2796, allocations: 0 / 0.737 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2798, allocations: 53.67 kB / 0.737 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2798, allocations: 0 / 0.737 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2798, allocations: 4 kB / 0.737 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2799, allocations: 4 kB / 0.737 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.28, allocations: 51.91 kB / 0.7371 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.2805, allocations: 272.8 kB / 0.7373 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2806, allocations: 54.5 kB / 0.7374 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.2807, allocations: 3.938 kB / 0.7374 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2807, allocations: 38.61 kB / 0.7374 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/0.2807, allocations: 0 / 0.7374 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003859/0.2811, allocations: 105.6 kB / 0.7375 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2812, allocations: 55.34 kB / 0.7376 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.2813, allocations: 101 kB / 0.7377 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2813, allocations: 29.83 kB / 0.7377 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.2814, allocations: 80.14 kB / 0.7378 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2814, allocations: 11.91 kB / 0.7378 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2814, allocations: 0 / 0.7378 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.2816, allocations: 314.8 kB / 0.7381 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.682e-05/0.2817, allocations: 27.97 kB / 0.7381 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.2818, allocations: 23.98 kB / 0.7381 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.2819, allocations: 27.97 kB / 0.7382 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2819, allocations: 0 / 0.7382 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002249/0.2821, allocations: 77.72 kB / 0.7382 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2822, allocations: 8 kB / 0.7383 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2822, allocations: 0 / 0.7383 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2822, allocations: 0 / 0.7383 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2823, allocations: 15.94 kB / 0.7383 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2823, allocations: 7.938 kB / 0.7383 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.2824, allocations: 12.28 kB / 0.7383 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.2824, allocations: 0 / 0.7383 GB, free: 4.777 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 (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 8.027e-05/0.2825, allocations: 109.8 kB / 0.7384 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.2825, allocations: 15.88 kB / 0.7384 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.2828, allocations: 89.19 kB / 0.7385 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2828, allocations: 0 / 0.7385 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2828, allocations: 0 / 0.7385 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2828, allocations: 3.953 kB / 0.7385 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.283, allocations: 161.7 kB / 0.7386 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.283, allocations: 0 / 0.7386 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.2831, allocations: 11.98 kB / 0.7387 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2831, allocations: 0 / 0.7387 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2831, allocations: 8.031 kB / 0.7387 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2831, allocations: 3.938 kB / 0.7387 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2831, allocations: 4 kB / 0.7387 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.2834, allocations: 175.5 kB / 0.7388 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2835, allocations: 85.05 kB / 0.7389 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2835, allocations: 3.984 kB / 0.7389 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.2836, allocations: 4 kB / 0.7389 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2836, allocations: 7.984 kB / 0.7389 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.2836, allocations: 0 / 0.7389 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.2837, allocations: 87.22 kB / 0.739 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2837, allocations: 4 kB / 0.739 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002098/0.2839, allocations: 8.031 kB / 0.739 GB, free: 3.906 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 (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.0006063/0.2845, allocations: 0.7336 MB / 0.7398 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2848, allocations: 47.97 kB / 0.7398 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2848, allocations: 0 / 0.7398 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.383e-05/0.2849, allocations: 32.03 kB / 0.7398 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.285, allocations: 4 kB / 0.7398 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.2855, allocations: 147 kB / 0.74 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.2858, allocations: 0.6848 MB / 0.7406 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.2858, allocations: 4.062 kB / 0.7406 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.2859, allocations: 11.44 kB / 0.7407 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/0.2859, allocations: 4 kB / 0.7407 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.2976, allocations: 1.155 MB / 0.7418 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.2978, allocations: 182.3 kB / 0.742 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.75, allocations: 3.938 kB / 0.742 GB, free: 0.8828 MB / 0.5105 GB (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)