Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.6 MB / 307.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 194.8 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 0.6366 GB, free: 8.582 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008839/0.0008838, allocations: 94.97 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.622/0.8601, allocations: 138.4 MB / 1.124 GB, free: 36.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.8604, allocations: 70.55 kB / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003825/0.8642, allocations: 1.36 MB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8642, allocations: 0 / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.8642, allocations: 0 / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002854/0.8645, allocations: 344.3 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.8646, allocations: 15.39 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.8646, allocations: 39.5 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.8647, allocations: 6.062 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.8648, allocations: 163.1 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.8648, allocations: 4 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.8648, allocations: 3.438 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.865, allocations: 41.73 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.865, allocations: 3.469 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.865, allocations: 4 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.865, allocations: 1.219 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.865, allocations: 15.38 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.8652, allocations: 157.1 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.8653, allocations: 27.03 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.8653, allocations: 8.062 kB / 1.126 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.8653, allocations: 35.69 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8653, allocations: 0 / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005619/0.8659, allocations: 313.3 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.866, allocations: 51.41 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.866, allocations: 101.3 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.866, allocations: 25.7 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.8661, allocations: 87.61 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.8661, allocations: 11.84 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.8661, allocations: 0 / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.8662, allocations: 319.1 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.8662, allocations: 11.38 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.8662, allocations: 32.19 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.8663, allocations: 15.47 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8663, allocations: 7.953 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.958e-05/0.8664, allocations: 68.58 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.8664, allocations: 8.938 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8664, allocations: 4.062 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8665, allocations: 0 / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.8665, allocations: 11.42 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8665, allocations: 0.5625 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.8666, allocations: 0 / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.8666, allocations: 4 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.587e-05/0.8666, allocations: 117.8 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.8667, allocations: 3.953 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.8668, allocations: 89.2 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8668, allocations: 0.5625 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8668, allocations: 0 / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8668, allocations: 0 / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.315e-05/0.8669, allocations: 157.2 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8669, allocations: 4 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.867, allocations: 7.953 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.867, allocations: 0.75 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.867, allocations: 3.562 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.867, allocations: 1.172 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.867, allocations: 4 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.8672, allocations: 115.3 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.8672, allocations: 77.11 kB / 1.127 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.8672, allocations: 11.31 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.8673, allocations: 0.5 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.8673, allocations: 8.875 kB / 1.127 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.8673, allocations: 4 kB / 1.127 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.825e-05/0.8673, allocations: 83.34 kB / 1.127 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8673, allocations: 4.062 kB / 1.127 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002503/0.8676, allocations: 28 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003648/0.868, allocations: 0.6658 MB / 1.128 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.742e-05/0.8681, allocations: 35.03 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8681, allocations: 4.75 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.8681, allocations: 15.94 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.8682, allocations: 3.953 kB / 1.128 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.8688, allocations: 0.6095 MB / 1.129 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.8689, allocations: 0.69 MB / 1.129 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.869, allocations: 0 / 1.129 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.869, allocations: 15.44 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.869, allocations: 0 / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.8807, allocations: 1.646 MB / 1.131 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.8809, allocations: 201 kB / 1.131 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.512, allocations: 0 / 1.131 GB, free: 28.91 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)