Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.4 MB / 303.4 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 175.1 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008219/0.0008222, allocations: 98.89 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004288, allocations: 12.66 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2916, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001973/0.2936, allocations: 1.141 MB / 0.9807 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.294, allocations: 92.67 kB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.2941, allocations: 4 kB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.419e-05/0.2941, allocations: 0 / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.2942, allocations: 7.922 kB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.2945, allocations: 12 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.349e-05/0.2946, allocations: 23.92 kB / 0.9808 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2947, allocations: 7.984 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.2948, allocations: 7.938 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.2948, allocations: 11.98 kB / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2948, allocations: 0 / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.2949, allocations: 19.92 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.295, allocations: 3.984 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.295, allocations: 29.7 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.455e-05/0.2951, allocations: 31.89 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2951, allocations: 0 / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2951, allocations: 0 / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2951, allocations: 0 / 0.9809 GB, free: 26.23 MB / 0.6198 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.0004913/0.2956, allocations: 353.1 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2957, allocations: 12.02 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.2957, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2959, allocations: 167 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2959, allocations: 4 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2959, allocations: 0 / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.2961, allocations: 61.61 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2961, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2961, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2962, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2963, allocations: 51.95 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.2967, allocations: 260.8 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.2969, allocations: 50.5 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.297, allocations: 28.89 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.297, allocations: 3.938 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2971, allocations: 38.56 kB / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2971, allocations: 0 / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003664/0.2974, allocations: 97.64 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2975, allocations: 55.41 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.2975, allocations: 110 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.2976, allocations: 29.64 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.2976, allocations: 84.14 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2976, allocations: 7.844 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.2976, allocations: 4 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.2977, allocations: 318.8 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.2978, allocations: 23.98 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.2979, allocations: 23.98 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.298, allocations: 27.97 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.298, allocations: 0 / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.2982, allocations: 77.73 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2982, allocations: 4 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2982, allocations: 7.922 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2982, allocations: 3.984 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.2984, allocations: 12.25 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2984, allocations: 4.031 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.2984, allocations: 11.98 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.2984, allocations: 0 / 0.9828 GB, free: 24.12 MB / 0.6198 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 6.727e-05/0.2985, allocations: 121.7 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.2985, allocations: 7.891 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.2988, allocations: 89.17 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2988, allocations: 0 / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2988, allocations: 0 / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2988, allocations: 0 / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.2989, allocations: 165.6 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2989, allocations: 3.984 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.299, allocations: 12.03 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.299, allocations: 0 / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.299, allocations: 4 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.299, allocations: 0 / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.299, allocations: 0 / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.2993, allocations: 183.4 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.2993, allocations: 81.09 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2993, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.2994, allocations: 8 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.2994, allocations: 3.984 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2994, allocations: 0 / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.175e-05/0.2995, allocations: 95.25 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2995, allocations: 0 / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001988/0.2997, allocations: 11.91 kB / 0.9835 GB, free: 23.25 MB / 0.6198 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.000169/0.2999, allocations: 103.2 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3001, allocations: 55.91 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3001, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.3002, allocations: 27.97 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3005, allocations: 7.953 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.3008, allocations: 120.8 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3009, allocations: 0.677 MB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.301, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.301, allocations: 7.438 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.301, allocations: 4 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.002567/0.3036, allocations: 462.7 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)