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.0007489/0.0007489, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004228/0.004228, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.186/1.186, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.333/1.333, allocations: 252 MB / 0.5105 GB, free: 4.66 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.0004417/0.0004417, allocations: 16.33 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3801, allocations: 106.3 MB / 0.7287 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001363/0.3815, allocations: 1.172 MB / 0.7299 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000276/0.3818, allocations: 96.59 kB / 0.7299 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.3818, allocations: 3.938 kB / 0.73 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.3819, allocations: 0 / 0.73 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.069e-05/0.3819, allocations: 3.984 kB / 0.73 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.3821, allocations: 15.94 kB / 0.73 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.706e-05/0.3822, allocations: 19.98 kB / 0.73 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.991e-05/0.3822, allocations: 7.984 kB / 0.73 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.3823, allocations: 15.92 kB / 0.73 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.3823, allocations: 11.98 kB / 0.73 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.3823, allocations: 0 / 0.73 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.3824, allocations: 19.92 kB / 0.73 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.3825, allocations: 7.938 kB / 0.7301 GB, free: 10 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.3825, allocations: 33.64 kB / 0.7301 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.456e-05/0.3826, allocations: 31.92 kB / 0.7301 GB, free: 9.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3826, allocations: 7.938 kB / 0.7301 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3826, allocations: 0 / 0.7301 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.3826, allocations: 0 / 0.7301 GB, free: 9.922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000363/0.383, allocations: 349.5 kB / 0.7305 GB, free: 9.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.383, allocations: 12.03 kB / 0.7305 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.3831, allocations: 4.844 kB / 0.7305 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.3832, allocations: 164.3 kB / 0.7306 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3832, allocations: 4.375 kB / 0.7306 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.3832, allocations: 384 / 0.7306 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3834, allocations: 62.17 kB / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.3834, allocations: 192 / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3834, allocations: 7.938 kB / 0.7307 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3834, allocations: 0 / 0.7307 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3836, allocations: 47.95 kB / 0.7307 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.3839, allocations: 253 kB / 0.731 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.384, allocations: 46.5 kB / 0.731 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.3841, allocations: 36.84 kB / 0.7311 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.3841, allocations: 7.984 kB / 0.7311 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.3842, allocations: 30.56 kB / 0.7311 GB, free: 8.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.3842, allocations: 0 / 0.7311 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000336/0.3845, allocations: 109.5 kB / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.3845, allocations: 51.41 kB / 0.7313 GB, free: 8.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.3846, allocations: 109.8 kB / 0.7314 GB, free: 8.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3846, allocations: 25.7 kB / 0.7314 GB, free: 8.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.3847, allocations: 84.14 kB / 0.7315 GB, free: 8.344 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.3847, allocations: 8.031 kB / 0.7315 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.3847, allocations: 17.66 kB / 0.7315 GB, free: 8.312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.3848, allocations: 310.8 kB / 0.7318 GB, free: 8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.3849, allocations: 31.91 kB / 0.7318 GB, free: 7.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.385, allocations: 23.98 kB / 0.7318 GB, free: 7.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3851, allocations: 56.88 kB / 0.7319 GB, free: 7.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3852, allocations: 0 / 0.7319 GB, free: 7.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.3854, allocations: 81.61 kB / 0.732 GB, free: 7.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3854, allocations: 4 kB / 0.732 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3854, allocations: 3.984 kB / 0.732 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.3854, allocations: 3.938 kB / 0.732 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.3855, allocations: 8 kB / 0.732 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3855, allocations: 4 kB / 0.732 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.3855, allocations: 12.02 kB / 0.732 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.3856, allocations: 3.938 kB / 0.732 GB, free: 7.762 MB / 0.545 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 5.761e-05/0.3856, allocations: 117.8 kB / 0.7321 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.3856, allocations: 3.984 kB / 0.7321 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3859, allocations: 93.17 kB / 0.7322 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3859, allocations: 0 / 0.7322 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3859, allocations: 0 / 0.7322 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3859, allocations: 0 / 0.7322 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.386, allocations: 165.5 kB / 0.7324 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.386, allocations: 3.984 kB / 0.7324 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.3861, allocations: 8 kB / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3861, allocations: 0 / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.3861, allocations: 4.031 kB / 0.7324 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3861, allocations: 4 kB / 0.7324 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3861, allocations: 0 / 0.7324 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.3864, allocations: 187.4 kB / 0.7326 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.3864, allocations: 77.11 kB / 0.7326 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.3864, allocations: 0 / 0.7326 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.3865, allocations: 8 kB / 0.7327 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.3865, allocations: 3.984 kB / 0.7327 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3865, allocations: 0 / 0.7327 GB, free: 7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.3866, allocations: 91.53 kB / 0.7327 GB, free: 6.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3866, allocations: 0 / 0.7327 GB, free: 6.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002093/0.3868, allocations: 12.03 kB / 0.7328 GB, free: 6.898 MB / 0.545 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.0001131/0.3869, allocations: 99.23 kB / 0.7328 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3871, allocations: 51.91 kB / 0.7329 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3871, allocations: 4.062 kB / 0.7329 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.3872, allocations: 27.97 kB / 0.7329 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.3875, allocations: 15.81 kB / 0.7329 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.3877, allocations: 128.5 kB / 0.7331 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.3879, allocations: 0.681 MB / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.3879, allocations: 0 / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.3879, allocations: 11.44 kB / 0.7337 GB, free: 5.828 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.388, allocations: 0 / 0.7337 GB, free: 5.828 MB / 0.545 GB Notification: Performance of Templates: time 0.002065/0.39, allocations: 464.4 kB / 0.7342 GB, free: 5.375 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: