Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008598/0.0008598, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001109/0.001108, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 222.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6981/0.6981, allocations: 95.64 MB / 366 MB, free: 10.38 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005465/0.0005468, allocations: 12 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4986, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0007813/0.4994, allocations: 240 kB / 0.5053 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004908/0.4999, allocations: 178.6 kB / 0.5055 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.4999, allocations: 0 / 0.5055 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.5, allocations: 8 kB / 0.5055 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.5001, allocations: 0 / 0.5055 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.5004, allocations: 43.88 kB / 0.5055 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.5005, allocations: 11.98 kB / 0.5055 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.5006, allocations: 0 / 0.5055 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.5006, allocations: 4 kB / 0.5055 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.5006, allocations: 15.86 kB / 0.5055 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.5007, allocations: 0 / 0.5055 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.5009, allocations: 115.8 kB / 0.5057 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.5009, allocations: 7.938 kB / 0.5057 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.5009, allocations: 29.7 kB / 0.5057 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.5011, allocations: 47.92 kB / 0.5057 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5011, allocations: 0 / 0.5057 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5011, allocations: 0 / 0.5057 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.5011, allocations: 0 / 0.5057 GB, free: 15.79 MB / 382.1 MB 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.0003409/0.5014, allocations: 337.2 kB / 0.5061 GB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5015, allocations: 15.98 kB / 0.5061 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.5015, allocations: 3.906 kB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5017, allocations: 171 kB / 0.5062 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5017, allocations: 7.953 kB / 0.5062 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.5017, allocations: 0 / 0.5062 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.5019, allocations: 37.7 kB / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5019, allocations: 0 / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5019, allocations: 7.922 kB / 0.5063 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.5019, allocations: 0 / 0.5063 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.502, allocations: 11.98 kB / 0.5063 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.5021, allocations: 161.7 kB / 0.5065 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.577e-05/0.5022, allocations: 26.56 kB / 0.5065 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.5022, allocations: 20.88 kB / 0.5065 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.5023, allocations: 4 kB / 0.5065 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5023, allocations: 30.56 kB / 0.5065 GB, free: 14.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5023, allocations: 0 / 0.5065 GB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005496/0.5028, allocations: 294.4 kB / 0.5068 GB, free: 14.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.5029, allocations: 63.41 kB / 0.5069 GB, free: 14.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.503, allocations: 109.8 kB / 0.507 GB, free: 14.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.503, allocations: 25.7 kB / 0.507 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.503, allocations: 88.08 kB / 0.5071 GB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.5031, allocations: 19.78 kB / 0.5071 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.5031, allocations: 0 / 0.5071 GB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.5032, allocations: 314.8 kB / 0.5074 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.5032, allocations: 15.98 kB / 0.5074 GB, free: 13.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.5033, allocations: 21.72 kB / 0.5074 GB, free: 13.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.5033, allocations: 19.98 kB / 0.5075 GB, free: 13.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5033, allocations: 0 / 0.5075 GB, free: 13.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.796e-05/0.5034, allocations: 69.58 kB / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5034, allocations: 8 kB / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5034, allocations: 0 / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5035, allocations: 0 / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.5035, allocations: 8.062 kB / 0.5075 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5036, allocations: 4 kB / 0.5075 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.5036, allocations: 4 kB / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5036, allocations: 0 / 0.5076 GB, free: 13.66 MB / 382.1 MB 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 7.266e-05/0.5037, allocations: 117.8 kB / 0.5077 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.5037, allocations: 11.86 kB / 0.5077 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.5038, allocations: 69.52 kB / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5038, allocations: 0 / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.5039, allocations: 4 kB / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5039, allocations: 3.938 kB / 0.5077 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.504, allocations: 165.7 kB / 0.5079 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.504, allocations: 0 / 0.5079 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.5041, allocations: 8 kB / 0.5079 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5041, allocations: 0 / 0.5079 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.5041, allocations: 3.953 kB / 0.5079 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5041, allocations: 0 / 0.5079 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5041, allocations: 0 / 0.5079 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.5043, allocations: 109 kB / 0.508 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.5043, allocations: 85 kB / 0.5081 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.5043, allocations: 0 / 0.5081 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.5044, allocations: 7.953 kB / 0.5081 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.5044, allocations: 4.031 kB / 0.5081 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.5044, allocations: 240 / 0.5081 GB, free: 12.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.028e-05/0.5045, allocations: 87.27 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5045, allocations: 3.938 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.5047, allocations: 20 kB / 0.5082 GB, free: 12.87 MB / 382.1 MB 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.0002098/0.5049, allocations: 119.3 kB / 0.5083 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.505, allocations: 35.92 kB / 0.5084 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5051, allocations: 0 / 0.5084 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.5051, allocations: 19.97 kB / 0.5084 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.5053, allocations: 1.688 kB / 0.5084 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.5056, allocations: 132.8 kB / 0.5085 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.5059, allocations: 0.6848 MB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.85e-05/0.5059, allocations: 4 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.5059, allocations: 7.438 kB / 0.5092 GB, free: 11.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.506, allocations: 0 / 0.5092 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Templates: time 0.003563/0.5095, allocations: 0.8629 MB / 0.51 GB, free: 10.95 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: