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.001088/0.001088, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.545/1.545, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.558/1.558, allocations: 251.7 MB / 0.5089 GB, free: 3.355 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.001604/0.001604, allocations: 71.91 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5025, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001709/0.5043, allocations: 0.5927 MB / 0.7246 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004729/0.5048, allocations: 198.2 kB / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.5048, allocations: 0 / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.5048, allocations: 0 / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.5049, allocations: 7.938 kB / 0.7248 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.5053, allocations: 59.91 kB / 0.7248 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.5053, allocations: 8 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.5054, allocations: 7.922 kB / 0.7248 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.5054, allocations: 4 kB / 0.7248 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.5054, allocations: 11.88 kB / 0.7248 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.5054, allocations: 0 / 0.7248 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.5056, allocations: 131.8 kB / 0.725 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.5057, allocations: 7.984 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.5057, allocations: 3.938 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.5058, allocations: 67.83 kB / 0.725 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.5059, allocations: 8 kB / 0.7251 GB, free: 11.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5059, allocations: 0 / 0.7251 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5059, allocations: 0 / 0.7251 GB, free: 11.99 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.0003086/0.5062, allocations: 341.4 kB / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5062, allocations: 8.031 kB / 0.7254 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.5063, allocations: 4.875 kB / 0.7254 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.5064, allocations: 176.2 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.5064, allocations: 384 / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.5064, allocations: 384 / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.526e-05/0.5065, allocations: 46.25 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5065, allocations: 192 / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5065, allocations: 7.875 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5066, allocations: 4 kB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.5066, allocations: 11.98 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.5068, allocations: 157.7 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.5068, allocations: 30.52 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.5068, allocations: 12.91 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.5069, allocations: 12 kB / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.5069, allocations: 30.56 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.5069, allocations: 0 / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005397/0.5075, allocations: 302.2 kB / 0.7261 GB, free: 10.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.5075, allocations: 51.41 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.5076, allocations: 118 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.5076, allocations: 25.7 kB / 0.7263 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.5076, allocations: 80.14 kB / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.5077, allocations: 7.906 kB / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.5077, allocations: 21.7 kB / 0.7264 GB, free: 10.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.5078, allocations: 314.8 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.5078, allocations: 11.98 kB / 0.7267 GB, free: 9.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.5079, allocations: 29.66 kB / 0.7268 GB, free: 9.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.5079, allocations: 41.7 kB / 0.7268 GB, free: 9.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.508, allocations: 0 / 0.7268 GB, free: 9.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.068e-05/0.508, allocations: 69.53 kB / 0.7269 GB, free: 9.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5081, allocations: 11.94 kB / 0.7269 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5081, allocations: 3.938 kB / 0.7269 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.5081, allocations: 0 / 0.7269 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.5082, allocations: 7.984 kB / 0.7269 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5082, allocations: 8.062 kB / 0.7269 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.5082, allocations: 0 / 0.7269 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.5082, allocations: 0 / 0.7269 GB, free: 9.805 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 7.281e-05/0.5083, allocations: 113.8 kB / 0.727 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.5083, allocations: 7.938 kB / 0.727 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.5084, allocations: 69.52 kB / 0.7271 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5084, allocations: 0 / 0.7271 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5084, allocations: 0 / 0.7271 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.5084, allocations: 7.938 kB / 0.7271 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.5086, allocations: 165.7 kB / 0.7273 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5086, allocations: 0 / 0.7273 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.5086, allocations: 12 kB / 0.7273 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5086, allocations: 4.125 kB / 0.7273 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.5087, allocations: 4 kB / 0.7273 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5087, allocations: 0 / 0.7273 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5087, allocations: 0 / 0.7273 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.5088, allocations: 120.9 kB / 0.7274 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.5089, allocations: 77.11 kB / 0.7275 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.5089, allocations: 3.938 kB / 0.7275 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.5089, allocations: 4.031 kB / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.5089, allocations: 0 / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.5089, allocations: 0 / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.509, allocations: 91.27 kB / 0.7276 GB, free: 9.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.509, allocations: 0 / 0.7276 GB, free: 9.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001964/0.5092, allocations: 16 kB / 0.7276 GB, free: 9.012 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.0001682/0.5094, allocations: 119.3 kB / 0.7277 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.5095, allocations: 43.91 kB / 0.7277 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5095, allocations: 0 / 0.7277 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.5095, allocations: 12 kB / 0.7277 GB, free: 8.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.5097, allocations: 8 kB / 0.7278 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.5099, allocations: 141.4 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.5102, allocations: 0.6847 MB / 0.7286 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.31e-05/0.5102, allocations: 3.984 kB / 0.7286 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.5102, allocations: 11.44 kB / 0.7286 GB, free: 7.934 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5102, allocations: 0 / 0.7286 GB, free: 7.934 MB / 0.545 GB Notification: Performance of Templates: time 0.002914/0.5131, allocations: 0.885 MB / 0.7294 GB, free: 7.059 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)