Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004244/0.004244, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.0009812/0.0009812, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.214/1.214, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.263/1.263, allocations: 251.7 MB / 0.5094 GB, free: 388 kB / 430.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.001393/0.001393, allocations: 67.91 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4851, allocations: 104.7 MB / 0.828 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.00242/0.4876, allocations: 1.434 MB / 0.8294 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002973/0.4879, allocations: 92.58 kB / 0.8295 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.4879, allocations: 0 / 0.8295 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 5.773e-05/0.488, allocations: 3.938 kB / 0.8295 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.4881, allocations: 4 kB / 0.8295 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.4883, allocations: 15.92 kB / 0.8295 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.355e-05/0.4884, allocations: 23.92 kB / 0.8296 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.4885, allocations: 16 kB / 0.8296 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.4885, allocations: 15.92 kB / 0.8296 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.4886, allocations: 19.91 kB / 0.8296 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.4886, allocations: 0 / 0.8296 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.4887, allocations: 19.98 kB / 0.8296 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.4887, allocations: 7.938 kB / 0.8296 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.4888, allocations: 11.92 kB / 0.8297 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.4889, allocations: 31.91 kB / 0.8297 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4889, allocations: 0 / 0.8297 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4889, allocations: 0 / 0.8297 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4889, allocations: 0 / 0.8297 GB, free: 0.8711 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004173/0.4893, allocations: 351 kB / 0.83 GB, free: 492 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4894, allocations: 8.031 kB / 0.83 GB, free: 484 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.4894, allocations: 0.9375 kB / 0.83 GB, free: 484 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4896, allocations: 168.3 kB / 0.8302 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4896, allocations: 384 / 0.8302 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.4896, allocations: 4.375 kB / 0.8302 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4898, allocations: 54.23 kB / 0.8302 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4898, allocations: 4.188 kB / 0.8303 GB, free: 208 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4898, allocations: 3.938 kB / 0.8303 GB, free: 204 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4898, allocations: 0 / 0.8303 GB, free: 204 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.49, allocations: 35.95 kB / 0.8303 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.4904, allocations: 256.9 kB / 0.8305 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.4905, allocations: 50.44 kB / 0.8306 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.4906, allocations: 24.91 kB / 0.8306 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.4906, allocations: 3.984 kB / 0.8306 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4907, allocations: 34.56 kB / 0.8306 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4907, allocations: 0 / 0.8306 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003318/0.491, allocations: 93.67 kB / 0.8307 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.4911, allocations: 51.41 kB / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.4911, allocations: 105.8 kB / 0.8309 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.4912, allocations: 25.7 kB / 0.8309 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.4912, allocations: 86.39 kB / 0.831 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.4912, allocations: 7.844 kB / 0.831 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.4913, allocations: 13.72 kB / 0.831 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.4914, allocations: 314.8 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.4914, allocations: 24 kB / 0.8313 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.4915, allocations: 19.98 kB / 0.8314 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.4917, allocations: 40.81 kB / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4917, allocations: 0 / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.4919, allocations: 81.61 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4919, allocations: 7.984 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4919, allocations: 0 / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4919, allocations: 0 / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.492, allocations: 8.25 kB / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.492, allocations: 0 / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.4921, allocations: 11.98 kB / 0.8315 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.4921, allocations: 3.938 kB / 0.8315 GB, free: 14.79 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.837e-05/0.4921, allocations: 113.8 kB / 0.8316 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4922, allocations: 11.89 kB / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.4924, allocations: 81.12 kB / 0.8317 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4924, allocations: 0 / 0.8317 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4924, allocations: 0 / 0.8317 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4924, allocations: 7.938 kB / 0.8317 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.4926, allocations: 161.6 kB / 0.8319 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4926, allocations: 0 / 0.8319 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.4927, allocations: 12.03 kB / 0.8319 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4927, allocations: 0 / 0.8319 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.4927, allocations: 0 / 0.8319 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4927, allocations: 0 / 0.8319 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4927, allocations: 3.984 kB / 0.8319 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.4929, allocations: 171.5 kB / 0.832 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.493, allocations: 77.11 kB / 0.8321 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.493, allocations: 0 / 0.8321 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.4931, allocations: 4 kB / 0.8321 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.4931, allocations: 11.98 kB / 0.8321 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.4931, allocations: 0 / 0.8321 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.4932, allocations: 79.28 kB / 0.8322 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.633e-06/0.4932, allocations: 0 / 0.8322 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002162/0.4934, allocations: 27.78 kB / 0.8322 GB, free: 13.95 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001397/0.4935, allocations: 112.3 kB / 0.8323 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4937, allocations: 35.97 kB / 0.8324 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4938, allocations: 0 / 0.8324 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.4938, allocations: 23.97 kB / 0.8324 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4941, allocations: 7.938 kB / 0.8324 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.4944, allocations: 107.9 kB / 0.8325 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4946, allocations: 0.6844 MB / 0.8332 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.4946, allocations: 4.125 kB / 0.8332 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.4946, allocations: 7.438 kB / 0.8332 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of SimCode: time 2e-07/0.4946, allocations: 0 / 0.8332 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.00272/0.4974, allocations: 0.5581 MB / 0.8337 GB, free: 12.36 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)