Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009763/0.0009764, allocations: 100.1 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.001172/0.001172, 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.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.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.0005235/0.0005236, allocations: 19.59 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2808, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001792/0.2826, allocations: 1.14 MB / 0.7882 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.2829, allocations: 88.62 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.283, allocations: 4 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.283, allocations: 4 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.2831, allocations: 7.984 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.2833, allocations: 11.98 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.2834, allocations: 11.98 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.2835, allocations: 7.984 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.2835, allocations: 11.92 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.2836, allocations: 15.88 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2836, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.052e-05/0.2837, allocations: 15.98 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.2837, allocations: 7.984 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.2838, allocations: 25.7 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.942e-05/0.2839, allocations: 23.97 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2839, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2839, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2839, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 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.0004824/0.2844, allocations: 347.5 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2844, allocations: 16.02 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.2845, allocations: 4 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2846, allocations: 171 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2846, allocations: 4 kB / 0.789 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.2846, allocations: 0 / 0.789 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2848, allocations: 53.67 kB / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2849, allocations: 0 / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2849, allocations: 4 kB / 0.789 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2849, allocations: 4 kB / 0.789 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2851, allocations: 43.95 kB / 0.7891 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.2854, allocations: 256.8 kB / 0.7893 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2856, allocations: 54.53 kB / 0.7894 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.2856, allocations: 4.062 kB / 0.7894 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.2857, allocations: 34.56 kB / 0.7894 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2857, allocations: 0 / 0.7894 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.2861, allocations: 105.6 kB / 0.7895 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.2861, allocations: 55.34 kB / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.2862, allocations: 117.9 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2862, allocations: 25.7 kB / 0.7897 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.2863, allocations: 84.14 kB / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.2863, allocations: 15.83 kB / 0.7898 GB, free: 9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.2863, allocations: 0 / 0.7898 GB, free: 9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2864, allocations: 318.7 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.2865, allocations: 23.98 kB / 0.7901 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.2866, allocations: 27.97 kB / 0.7901 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.2867, allocations: 23.98 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2867, allocations: 0 / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/0.2869, allocations: 77.72 kB / 0.7902 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.287, allocations: 8 kB / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.287, allocations: 0 / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.287, allocations: 0 / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.2871, allocations: 11.98 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.2871, allocations: 3.938 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.2872, allocations: 16.03 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2872, allocations: 0 / 0.7903 GB, free: 8.484 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.574e-05/0.2873, allocations: 113.8 kB / 0.7904 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.2873, allocations: 7.891 kB / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.2875, allocations: 89.19 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2876, allocations: 0 / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2876, allocations: 0 / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2876, allocations: 0 / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.2877, allocations: 165.6 kB / 0.7906 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2878, allocations: 0 / 0.7906 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.2878, allocations: 11.98 kB / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2878, allocations: 4.031 kB / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2878, allocations: 0 / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2878, allocations: 0 / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2879, allocations: 3.938 kB / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.2881, allocations: 179.5 kB / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2881, allocations: 81.11 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2882, allocations: 0 / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.2882, allocations: 7.984 kB / 0.7909 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.2883, allocations: 4 kB / 0.7909 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2883, allocations: 3.984 kB / 0.7909 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.2884, allocations: 91.52 kB / 0.791 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.32e-07/0.2884, allocations: 4.031 kB / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002223/0.2886, allocations: 11.91 kB / 0.791 GB, free: 7.617 MB / 0.6075 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 (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.0001606/0.2888, allocations: 103.2 kB / 0.7911 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.289, allocations: 55.89 kB / 0.7912 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.289, allocations: 8 kB / 0.7912 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.2891, allocations: 23.98 kB / 0.7912 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.2893, allocations: 3.938 kB / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.2896, allocations: 124.7 kB / 0.7913 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.2899, allocations: 0.6849 MB / 0.792 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.2899, allocations: 3.984 kB / 0.792 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.2899, allocations: 7.438 kB / 0.792 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2899, allocations: 0 / 0.792 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.002571/0.2925, allocations: 455.9 kB / 0.7924 GB, free: 6.109 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1) Environment - environmentSimulation: