Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 251.7 MB / 0.5092 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.83 kB / 0.6223 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.562, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001699/0.5637, allocations: 0.5162 MB / 0.725 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.5642, allocations: 195.4 kB / 0.7252 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.5642, allocations: 4 kB / 0.7252 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.5642, allocations: 0 / 0.7252 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.5643, allocations: 3.938 kB / 0.7252 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.5647, allocations: 59.84 kB / 0.7253 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.5648, allocations: 8 kB / 0.7253 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.5648, allocations: 7.938 kB / 0.7253 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.5648, allocations: 7.969 kB / 0.7253 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.551e-05/0.5649, allocations: 11.94 kB / 0.7253 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.5649, allocations: 0 / 0.7253 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.5651, allocations: 127.8 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.5651, allocations: 8 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.5652, allocations: 7.922 kB / 0.7254 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.5653, allocations: 71.84 kB / 0.7255 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5653, allocations: 0 / 0.7255 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5653, allocations: 0 / 0.7255 GB, free: 11.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5654, allocations: 3.984 kB / 0.7255 GB, free: 11.93 MB / 0.545 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.0003542/0.5657, allocations: 349.3 kB / 0.7258 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5658, allocations: 11.97 kB / 0.7259 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.5658, allocations: 4.938 kB / 0.7259 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.5659, allocations: 168.2 kB / 0.726 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5659, allocations: 4.375 kB / 0.726 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.566, allocations: 8.375 kB / 0.726 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.5661, allocations: 38.25 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5661, allocations: 4.188 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5661, allocations: 3.938 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.5661, allocations: 0 / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.5661, allocations: 8 kB / 0.7261 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.5663, allocations: 161.7 kB / 0.7262 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.416e-05/0.5664, allocations: 34.52 kB / 0.7263 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.5664, allocations: 15.77 kB / 0.7263 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.5664, allocations: 7.984 kB / 0.7263 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5665, allocations: 30.56 kB / 0.7263 GB, free: 10.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5665, allocations: 0 / 0.7263 GB, free: 10.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005379/0.567, allocations: 306.4 kB / 0.7266 GB, free: 10.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.5671, allocations: 51.41 kB / 0.7267 GB, free: 10.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.5672, allocations: 109.8 kB / 0.7268 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.5672, allocations: 25.7 kB / 0.7268 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.5672, allocations: 84.14 kB / 0.7269 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.5672, allocations: 7.906 kB / 0.7269 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.5673, allocations: 17.72 kB / 0.7269 GB, free: 10.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5674, allocations: 314.8 kB / 0.7272 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.5674, allocations: 12 kB / 0.7272 GB, free: 9.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.5675, allocations: 33.64 kB / 0.7272 GB, free: 9.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.5675, allocations: 37.7 kB / 0.7273 GB, free: 9.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.5675, allocations: 0 / 0.7273 GB, free: 9.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.869e-05/0.5676, allocations: 73.53 kB / 0.7273 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5677, allocations: 12 kB / 0.7274 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5677, allocations: 0 / 0.7274 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5677, allocations: 0 / 0.7274 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.5677, allocations: 8 kB / 0.7274 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5677, allocations: 0 / 0.7274 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.5678, allocations: 3.984 kB / 0.7274 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.5678, allocations: 8 kB / 0.7274 GB, free: 9.742 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/0.5678, allocations: 105.8 kB / 0.7275 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.5679, allocations: 7.938 kB / 0.7275 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.568, allocations: 73.83 kB / 0.7276 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.568, allocations: 192 / 0.7276 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.568, allocations: 0 / 0.7276 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.568, allocations: 7.984 kB / 0.7276 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.5682, allocations: 177.6 kB / 0.7277 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5682, allocations: 0 / 0.7277 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.5682, allocations: 4 kB / 0.7277 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5682, allocations: 3.938 kB / 0.7277 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.5682, allocations: 3.938 kB / 0.7277 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5682, allocations: 0 / 0.7277 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5683, allocations: 7.984 kB / 0.7278 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.5684, allocations: 109 kB / 0.7279 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.5685, allocations: 85.09 kB / 0.7279 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5685, allocations: 7.969 kB / 0.7279 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.5685, allocations: 0 / 0.7279 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.5686, allocations: 0 / 0.7279 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.5686, allocations: 4 kB / 0.7279 GB, free: 9.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.5686, allocations: 87.27 kB / 0.728 GB, free: 8.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5686, allocations: 4.062 kB / 0.728 GB, free: 8.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002065/0.5688, allocations: 16 kB / 0.728 GB, free: 8.941 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.569, allocations: 119.2 kB / 0.7282 GB, free: 8.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.5691, allocations: 31.92 kB / 0.7282 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5691, allocations: 0 / 0.7282 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.5692, allocations: 15.98 kB / 0.7282 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.5693, allocations: 10.97 kB / 0.7282 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.5696, allocations: 133.5 kB / 0.7283 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5699, allocations: 0.6807 MB / 0.729 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.5699, allocations: 4 kB / 0.729 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.5699, allocations: 11.44 kB / 0.729 GB, free: 7.883 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5699, allocations: 0 / 0.729 GB, free: 7.883 MB / 0.545 GB Notification: Performance of Templates: time 0.003145/0.5731, allocations: 0.8844 MB / 0.7299 GB, free: 7.008 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)