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.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00113/0.00113, allocations: 193 kB / 16.14 MB, free: 6.703 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.49/1.49, allocations: 205.1 MB / 222 MB, free: 4.766 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.564/1.564, allocations: 251.6 MB / 0.5088 GB, free: 3.312 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.00134/0.00134, allocations: 64.47 kB / 0.6215 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5105, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001839/0.5124, allocations: 0.5925 MB / 0.7244 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000517/0.5129, allocations: 206.3 kB / 0.7246 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.513, allocations: 0 / 0.7246 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.513, allocations: 0 / 0.7246 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.5131, allocations: 0 / 0.7246 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.5134, allocations: 47.86 kB / 0.7246 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.892e-05/0.5135, allocations: 12 kB / 0.7246 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.5135, allocations: 3.984 kB / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.5136, allocations: 7.938 kB / 0.7246 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.5136, allocations: 11.98 kB / 0.7247 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.5136, allocations: 0 / 0.7247 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.5139, allocations: 123.8 kB / 0.7248 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.5139, allocations: 7.984 kB / 0.7248 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.5139, allocations: 7.938 kB / 0.7248 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.5141, allocations: 71.83 kB / 0.7249 GB, free: 12.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5141, allocations: 0 / 0.7249 GB, free: 12.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5141, allocations: 0 / 0.7249 GB, free: 12.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5141, allocations: 0 / 0.7249 GB, free: 12.08 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.0003638/0.5145, allocations: 341.4 kB / 0.7252 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5146, allocations: 15.97 kB / 0.7252 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.5146, allocations: 4.938 kB / 0.7252 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5147, allocations: 168.2 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5147, allocations: 384 / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5148, allocations: 4.375 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.5149, allocations: 38.19 kB / 0.7254 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5149, allocations: 4.188 kB / 0.7254 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5149, allocations: 7.938 kB / 0.7254 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5149, allocations: 0 / 0.7254 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.515, allocations: 15.98 kB / 0.7254 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.5151, allocations: 157.7 kB / 0.7256 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.5152, allocations: 22.58 kB / 0.7256 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.5152, allocations: 8.922 kB / 0.7256 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.5153, allocations: 7.984 kB / 0.7256 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.5153, allocations: 38.5 kB / 0.7257 GB, free: 11.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.5153, allocations: 4 kB / 0.7257 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005615/0.5159, allocations: 302.2 kB / 0.7259 GB, free: 10.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.5159, allocations: 51.41 kB / 0.726 GB, free: 10.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.516, allocations: 113.8 kB / 0.7261 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.516, allocations: 25.7 kB / 0.7261 GB, free: 10.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.516, allocations: 84.14 kB / 0.7262 GB, free: 10.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.5161, allocations: 11.89 kB / 0.7262 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.5161, allocations: 25.92 kB / 0.7262 GB, free: 10.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.5162, allocations: 314.8 kB / 0.7265 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.5162, allocations: 8 kB / 0.7266 GB, free: 10.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.5163, allocations: 25.7 kB / 0.7266 GB, free: 10.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/0.5163, allocations: 45.64 kB / 0.7266 GB, free: 9.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.5164, allocations: 0 / 0.7266 GB, free: 9.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.39e-05/0.5165, allocations: 69.59 kB / 0.7267 GB, free: 9.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5165, allocations: 11.94 kB / 0.7267 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.5165, allocations: 0 / 0.7267 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.5165, allocations: 0 / 0.7267 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.5166, allocations: 15.92 kB / 0.7267 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5166, allocations: 0 / 0.7267 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.5166, allocations: 3.938 kB / 0.7267 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.5166, allocations: 4 kB / 0.7267 GB, free: 9.887 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 8.523e-05/0.5167, allocations: 109.9 kB / 0.7268 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.5167, allocations: 7.938 kB / 0.7268 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.5169, allocations: 73.89 kB / 0.7269 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5169, allocations: 0 / 0.7269 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5169, allocations: 0 / 0.7269 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5169, allocations: 4 kB / 0.7269 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.517, allocations: 165.7 kB / 0.7271 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.517, allocations: 0 / 0.7271 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.5171, allocations: 7.938 kB / 0.7271 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5171, allocations: 3.938 kB / 0.7271 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.5171, allocations: 4 kB / 0.7271 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5171, allocations: 3.984 kB / 0.7271 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5171, allocations: 0 / 0.7271 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.5173, allocations: 109 kB / 0.7272 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.5173, allocations: 77.11 kB / 0.7273 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.5173, allocations: 7.969 kB / 0.7273 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.5174, allocations: 0 / 0.7273 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.5174, allocations: 4.062 kB / 0.7273 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.5174, allocations: 8 kB / 0.7273 GB, free: 9.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.5175, allocations: 83.27 kB / 0.7274 GB, free: 9.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5175, allocations: 0 / 0.7274 GB, free: 9.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002175/0.5177, allocations: 20 kB / 0.7274 GB, free: 9.102 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.000181/0.5179, allocations: 123.2 kB / 0.7275 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.518, allocations: 27.97 kB / 0.7275 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.518, allocations: 7.938 kB / 0.7275 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.518, allocations: 16.12 kB / 0.7275 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.5182, allocations: 4 kB / 0.7275 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.5185, allocations: 145.7 kB / 0.7277 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.5187, allocations: 0.6848 MB / 0.7284 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.5187, allocations: 4 kB / 0.7284 GB, free: 8.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.5187, allocations: 7.438 kB / 0.7284 GB, free: 8.027 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.5187, allocations: 0 / 0.7284 GB, free: 8.027 MB / 0.545 GB Notification: Performance of Templates: time 0.002915/0.5217, allocations: 0.8933 MB / 0.7292 GB, free: 7.141 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)