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.001625/0.001625, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.284/1.284, allocations: 205.1 MB / 222.4 MB, free: 4.43 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.612/1.612, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.001408/0.001408, allocations: 67.45 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2355, allocations: 114.6 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002886/0.2385, allocations: 1.426 MB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.2388, allocations: 84.66 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.2389, allocations: 0 / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.688e-05/0.2389, allocations: 7.938 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.239, allocations: 7.938 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2392, allocations: 15.98 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.488e-05/0.2393, allocations: 27.86 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2394, allocations: 11.98 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.2395, allocations: 3.984 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.2395, allocations: 15.92 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2395, allocations: 4 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.2397, allocations: 23.98 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.2397, allocations: 8 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.2397, allocations: 11.92 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2399, allocations: 31.89 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2399, allocations: 7.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2399, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2399, allocations: 0 / 0.785 GB, free: 11.8 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.0004769/0.2404, allocations: 347.7 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2404, allocations: 8.031 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2405, allocations: 8.938 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2406, allocations: 164.3 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2406, allocations: 384 / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.2406, allocations: 4.375 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2408, allocations: 54.17 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2408, allocations: 192 / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2408, allocations: 3.938 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2409, allocations: 0 / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.241, allocations: 43.94 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.2414, allocations: 256.9 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2415, allocations: 46.44 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2416, allocations: 20.91 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.2417, allocations: 11.98 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2417, allocations: 38.56 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2417, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.2421, allocations: 85.58 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.2421, allocations: 55.41 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.2422, allocations: 106 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.2422, allocations: 29.7 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.2423, allocations: 84.05 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2423, allocations: 7.938 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.2423, allocations: 13.72 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2425, allocations: 314.8 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.2425, allocations: 19.97 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.2426, allocations: 19.98 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.2428, allocations: 44.81 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2428, allocations: 0 / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.243, allocations: 77.45 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.243, allocations: 7.984 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.243, allocations: 0 / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2431, allocations: 4.094 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.453e-05/0.2431, allocations: 8 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2432, allocations: 0 / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.2432, allocations: 7.984 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2432, allocations: 0 / 0.7868 GB, free: 9.719 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/0.2433, allocations: 117.8 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.2433, allocations: 0 / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.2436, allocations: 81.11 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2436, allocations: 4 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2436, allocations: 0 / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2436, allocations: 0 / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2438, allocations: 165.6 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2438, allocations: 4 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.2439, allocations: 4 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2439, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2439, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2439, allocations: 11.91 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2439, allocations: 7.984 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.2441, allocations: 167.4 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.2442, allocations: 77.36 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2442, allocations: 7.938 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.2443, allocations: 12.03 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.2443, allocations: 3.984 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2443, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.2444, allocations: 83.28 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2444, allocations: 4 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000228/0.2446, allocations: 8 kB / 0.7875 GB, free: 8.871 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 (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.0001585/0.2448, allocations: 103.2 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.245, allocations: 39.97 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.245, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.2451, allocations: 27.97 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2454, allocations: 6.594 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.2458, allocations: 117.4 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2461, allocations: 0.6808 MB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.2461, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.2461, allocations: 11.44 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2461, allocations: 0 / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of Templates: time 0.002505/0.2486, allocations: 0.5443 MB / 0.789 GB, free: 7.293 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (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)