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.001259/0.001259, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.01265/0.01265, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.698/1.698, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.6744/0.6744, allocations: 95.63 MB / 366.4 MB, free: 10.33 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.0008018/0.0008019, allocations: 16 kB / 447.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4423, allocations: 70.34 MB / 0.5057 GB, free: 16.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0008946/0.4433, allocations: 239.9 kB / 0.5059 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000672/0.444, allocations: 206.5 kB / 0.5061 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.444, allocations: 0 / 0.5061 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/0.4441, allocations: 0 / 0.5061 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.4441, allocations: 4 kB / 0.5061 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.4445, allocations: 39.88 kB / 0.5061 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.4446, allocations: 15.92 kB / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.4447, allocations: 7.938 kB / 0.5062 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.4447, allocations: 0 / 0.5062 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.4447, allocations: 8 kB / 0.5062 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.4448, allocations: 0 / 0.5062 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.445, allocations: 127.8 kB / 0.5063 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.4451, allocations: 7.938 kB / 0.5063 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.4451, allocations: 29.64 kB / 0.5063 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.4453, allocations: 75.83 kB / 0.5064 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4453, allocations: 0 / 0.5064 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4453, allocations: 0 / 0.5064 GB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.4453, allocations: 0 / 0.5064 GB, free: 15.62 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.0003509/0.4457, allocations: 333.5 kB / 0.5067 GB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.4457, allocations: 15.98 kB / 0.5067 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.4458, allocations: 4.844 kB / 0.5067 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.4459, allocations: 176.3 kB / 0.5069 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.4459, allocations: 384 / 0.5069 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.446, allocations: 4.375 kB / 0.5069 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4461, allocations: 34.27 kB / 0.5069 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4461, allocations: 192 / 0.5069 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4461, allocations: 3.938 kB / 0.5069 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.4462, allocations: 7.984 kB / 0.5069 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.866e-05/0.4462, allocations: 15.94 kB / 0.507 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.4464, allocations: 161.7 kB / 0.5071 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.4464, allocations: 26.56 kB / 0.5071 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.4465, allocations: 12.92 kB / 0.5072 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.4465, allocations: 4 kB / 0.5072 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4466, allocations: 30.56 kB / 0.5072 GB, free: 14.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.4466, allocations: 0 / 0.5072 GB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005936/0.4472, allocations: 306.1 kB / 0.5075 GB, free: 14.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.4472, allocations: 59.56 kB / 0.5075 GB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.4473, allocations: 109.8 kB / 0.5076 GB, free: 14.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.4473, allocations: 29.7 kB / 0.5077 GB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.4473, allocations: 84.14 kB / 0.5077 GB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.4474, allocations: 7.891 kB / 0.5078 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.4474, allocations: 17.72 kB / 0.5078 GB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.4475, allocations: 310.8 kB / 0.5081 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.4475, allocations: 11.98 kB / 0.5081 GB, free: 13.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.4475, allocations: 29.72 kB / 0.5081 GB, free: 13.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.4476, allocations: 41.64 kB / 0.5081 GB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4476, allocations: 0 / 0.5081 GB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.776e-05/0.4477, allocations: 69.53 kB / 0.5082 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4477, allocations: 13.97 kB / 0.5082 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4477, allocations: 7.922 kB / 0.5082 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4477, allocations: 64 / 0.5082 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.4478, allocations: 12 kB / 0.5082 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4478, allocations: 0 / 0.5082 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.4478, allocations: 4 kB / 0.5082 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.4478, allocations: 0 / 0.5082 GB, free: 13.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.4479, allocations: 113.8 kB / 0.5084 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.4479, allocations: 7.938 kB / 0.5084 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.448, allocations: 65.58 kB / 0.5084 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.448, allocations: 192 / 0.5084 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4481, allocations: 7.984 kB / 0.5084 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4481, allocations: 3.984 kB / 0.5084 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.074e-05/0.4482, allocations: 169.7 kB / 0.5086 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4482, allocations: 0 / 0.5086 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.4482, allocations: 4 kB / 0.5086 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4482, allocations: 3.938 kB / 0.5086 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4482, allocations: 3.984 kB / 0.5086 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4482, allocations: 0 / 0.5086 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4482, allocations: 3.938 kB / 0.5086 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.4484, allocations: 105.1 kB / 0.5087 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.4484, allocations: 81.02 kB / 0.5088 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4484, allocations: 7.969 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.4485, allocations: 0 / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.4485, allocations: 3.984 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4485, allocations: 4 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.187e-05/0.4486, allocations: 83.28 kB / 0.5089 GB, free: 12.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4486, allocations: 0 / 0.5089 GB, free: 12.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.4488, allocations: 23.98 kB / 0.5089 GB, free: 12.66 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 (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.0001626/0.449, allocations: 123.3 kB / 0.509 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.4491, allocations: 35.92 kB / 0.5091 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4491, allocations: 3.938 kB / 0.5091 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.4491, allocations: 12 kB / 0.5091 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.4493, allocations: 6.25 kB / 0.5091 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.4495, allocations: 145.1 kB / 0.5092 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.4497, allocations: 0.677 MB / 0.5099 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.351e-05/0.4497, allocations: 4 kB / 0.5099 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.4497, allocations: 11.44 kB / 0.5099 GB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4497, allocations: 0 / 0.5099 GB, free: 11.59 MB / 382.1 MB Notification: Performance of Templates: time 0.003254/0.453, allocations: 0.8673 MB / 0.5107 GB, free: 10.72 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: