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.0008908/0.0008908, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008996/0.0008996, allocations: 177.3 kB / 15.95 MB, free: 216 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.365/1.365, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.5879/0.5879, allocations: 95.58 MB / 366 MB, free: 10.41 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.00051/0.0005101, allocations: 12 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3181, allocations: 70.34 MB / 0.505 GB, free: 16.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.000582/0.3188, allocations: 248.6 kB / 0.5052 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003914/0.3192, allocations: 185.3 kB / 0.5054 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.3192, allocations: 0 / 0.5054 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3192, allocations: 0 / 0.5054 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.3193, allocations: 0 / 0.5054 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3196, allocations: 47.88 kB / 0.5054 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.197e-05/0.3196, allocations: 7.984 kB / 0.5055 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3197, allocations: 0 / 0.5055 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.3197, allocations: 4 kB / 0.5055 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.3198, allocations: 19.91 kB / 0.5055 GB, free: 16.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3198, allocations: 0 / 0.5055 GB, free: 16.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.32, allocations: 107.8 kB / 0.5056 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.32, allocations: 0 / 0.5056 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.32, allocations: 37.58 kB / 0.5056 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.752e-05/0.3201, allocations: 39.92 kB / 0.5057 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.3201, allocations: 4 kB / 0.5057 GB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3201, allocations: 4 kB / 0.5057 GB, free: 15.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3201, allocations: 0 / 0.5057 GB, free: 15.94 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.0002451/0.3204, allocations: 333.3 kB / 0.506 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3204, allocations: 11.98 kB / 0.506 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3205, allocations: 3.906 kB / 0.506 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.45e-05/0.3206, allocations: 171 kB / 0.5062 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3206, allocations: 3.953 kB / 0.5062 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3206, allocations: 4 kB / 0.5062 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.3207, allocations: 37.7 kB / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.3207, allocations: 0 / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3207, allocations: 4 kB / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3207, allocations: 0 / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.3208, allocations: 15.92 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.3209, allocations: 157.7 kB / 0.5064 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.3209, allocations: 26.56 kB / 0.5064 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.321, allocations: 16 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.321, allocations: 34.56 kB / 0.5064 GB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.321, allocations: 0 / 0.5064 GB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004589/0.3215, allocations: 290.3 kB / 0.5067 GB, free: 14.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.3215, allocations: 55.41 kB / 0.5068 GB, free: 14.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.3216, allocations: 105.8 kB / 0.5069 GB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.3216, allocations: 29.92 kB / 0.5069 GB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.3216, allocations: 88.14 kB / 0.507 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.3216, allocations: 7.812 kB / 0.507 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.3216, allocations: 7.938 kB / 0.507 GB, free: 14.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.3217, allocations: 318.8 kB / 0.5073 GB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.3217, allocations: 11.94 kB / 0.5073 GB, free: 13.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.3217, allocations: 29.64 kB / 0.5073 GB, free: 13.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.3218, allocations: 16 kB / 0.5074 GB, free: 13.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3218, allocations: 0 / 0.5074 GB, free: 13.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.256e-05/0.3218, allocations: 77.56 kB / 0.5074 GB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3219, allocations: 6.188 kB / 0.5074 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3219, allocations: 4 kB / 0.5074 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3219, allocations: 0 / 0.5074 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.322, allocations: 8 kB / 0.5075 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.322, allocations: 4 kB / 0.5075 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.322, allocations: 0 / 0.5075 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.322, allocations: 4.062 kB / 0.5075 GB, free: 13.83 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 4.623e-05/0.3221, allocations: 109.8 kB / 0.5076 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.3221, allocations: 15.84 kB / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3222, allocations: 73.52 kB / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3222, allocations: 0 / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3222, allocations: 0 / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3222, allocations: 0 / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.342e-05/0.3223, allocations: 161.7 kB / 0.5078 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3223, allocations: 0 / 0.5078 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.3224, allocations: 12 kB / 0.5078 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3224, allocations: 3.984 kB / 0.5078 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3224, allocations: 3.953 kB / 0.5078 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3224, allocations: 0 / 0.5078 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3224, allocations: 0 / 0.5078 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3225, allocations: 101.1 kB / 0.5079 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.3225, allocations: 81.02 kB / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.3225, allocations: 0 / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.3226, allocations: 8.016 kB / 0.508 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.3226, allocations: 11.95 kB / 0.508 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3226, allocations: 4 kB / 0.508 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.655e-05/0.3227, allocations: 83.28 kB / 0.5081 GB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3227, allocations: 0 / 0.5081 GB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002063/0.3229, allocations: 23.98 kB / 0.5081 GB, free: 13.05 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.0001367/0.323, allocations: 119.2 kB / 0.5082 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.582e-05/0.3231, allocations: 35.98 kB / 0.5083 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3231, allocations: 0 / 0.5083 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.3231, allocations: 19.94 kB / 0.5083 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.779e-05/0.3232, allocations: 3.984 kB / 0.5083 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.3234, allocations: 136.9 kB / 0.5084 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3236, allocations: 0.6848 MB / 0.5091 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.614e-05/0.3236, allocations: 4 kB / 0.5091 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.3236, allocations: 11.5 kB / 0.5091 GB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3236, allocations: 0 / 0.5091 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.003057/0.3267, allocations: 0.8666 MB / 0.51 GB, free: 11.11 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: