Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.93/2.93, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001483/0.001483, allocations: 174.3 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001173/0.001173, allocations: 108.9 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006145/0.0006146, allocations: 12.28 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2322, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001788/0.2341, allocations: 1.148 MB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000306/0.2344, allocations: 92.62 kB / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.2344, allocations: 0 / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.2345, allocations: 0 / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.2346, allocations: 0 / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.2348, allocations: 15.92 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.2349, allocations: 11.98 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.235, allocations: 15.98 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.235, allocations: 4 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.2351, allocations: 15.92 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2351, allocations: 0 / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.2352, allocations: 19.91 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.2352, allocations: 4 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.2353, allocations: 33.64 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.88e-05/0.2354, allocations: 23.95 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2354, allocations: 0 / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2354, allocations: 0 / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2354, allocations: 0 / 0.9795 GB, free: 27 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.000442/0.2358, allocations: 343.5 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2359, allocations: 16.02 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.2359, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.236, allocations: 167 kB / 0.98 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2361, allocations: 4 kB / 0.98 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2361, allocations: 3.938 kB / 0.98 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.2363, allocations: 57.67 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2364, allocations: 4 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2364, allocations: 0 / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2364, allocations: 0 / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.2367, allocations: 55.89 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.237, allocations: 256.8 kB / 0.9804 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2372, allocations: 50.55 kB / 0.9804 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.2373, allocations: 7.984 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2373, allocations: 34.56 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.2373, allocations: 0 / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005288/0.2378, allocations: 109.7 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2379, allocations: 51.41 kB / 0.9806 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.238, allocations: 105.8 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.238, allocations: 25.7 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.2381, allocations: 80.14 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.2381, allocations: 15.84 kB / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2381, allocations: 0 / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.2382, allocations: 318.8 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2384, allocations: 27.97 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2385, allocations: 19.98 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2386, allocations: 28.05 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2387, allocations: 3.938 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003127/0.239, allocations: 81.59 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.239, allocations: 4 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.239, allocations: 4.031 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2391, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.2392, allocations: 11.98 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2392, allocations: 0 / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.2393, allocations: 11.98 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.2393, allocations: 0 / 0.9813 GB, free: 24.93 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 7.248e-05/0.2394, allocations: 119.9 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2394, allocations: 7.906 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.2398, allocations: 85.12 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2398, allocations: 256 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2398, allocations: 0 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2398, allocations: 7.984 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.24, allocations: 173.6 kB / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.24, allocations: 0 / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.2401, allocations: 11.98 kB / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2402, allocations: 0 / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2402, allocations: 0 / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2402, allocations: 3.938 kB / 0.9817 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2402, allocations: 4 kB / 0.9817 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.2405, allocations: 179.5 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.2406, allocations: 77.11 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2406, allocations: 0 / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2407, allocations: 16.02 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.2408, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2408, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.2409, allocations: 91.2 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2409, allocations: 4 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003091/0.2412, allocations: 11.91 kB / 0.9821 GB, free: 24.05 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.0001515/0.2413, allocations: 99.25 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003233/0.2417, allocations: 51.95 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2417, allocations: 0 / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2419, allocations: 27.98 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2421, allocations: 16 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.2425, allocations: 112.7 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2426, allocations: 0.6848 MB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.2427, allocations: 0 / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.2427, allocations: 7.438 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.2427, allocations: 0 / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of Templates: time 0.003026/0.2458, allocations: 473.9 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)