Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.0009799/0.00098, allocations: 192.8 kB / 366.7 MB, free: 1.629 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.566/1.566, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008554, allocations: 97.06 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.039e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6812, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.912, allocations: 137.5 MB / 1.108 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.9123, allocations: 76.44 kB / 1.108 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0013/0.9136, allocations: 477.1 kB / 1.108 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9137, allocations: 0 / 1.108 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.9137, allocations: 0.875 kB / 1.108 GB, free: 12.15 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002916/0.914, allocations: 306.5 kB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.914, allocations: 13.33 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.9141, allocations: 8.375 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.9142, allocations: 167 kB / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.9142, allocations: 0 / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.9143, allocations: 4.719 kB / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.805e-05/0.9143, allocations: 0 / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.473e-05/0.9144, allocations: 30.23 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9144, allocations: 1.156 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.9145, allocations: 0 / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9145, allocations: 0 / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.9146, allocations: 127 kB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.9147, allocations: 23.44 kB / 1.109 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.9147, allocations: 9.562 kB / 1.109 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.9148, allocations: 0 / 1.109 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.9148, allocations: 39.59 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.9148, allocations: 2.5 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.915, allocations: 30.23 kB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.9151, allocations: 53.09 kB / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.05e-05/0.9151, allocations: 85 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.9152, allocations: 25.7 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.9152, allocations: 80.14 kB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.9153, allocations: 4.594 kB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.9153, allocations: 1.312 kB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9154, allocations: 318.8 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.9155, allocations: 0 / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.9155, allocations: 0.5 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.9155, allocations: 4.562 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9156, allocations: 1.562 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.9157, allocations: 33.64 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9157, allocations: 7.953 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9157, allocations: 0.7812 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9158, allocations: 4 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.9158, allocations: 4.516 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.9159, allocations: 0 / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.9159, allocations: 8.438 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.9159, allocations: 8.547 kB / 1.109 GB, free: 10.61 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.607e-05/0.916, allocations: 103.8 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.916, allocations: 0 / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.9162, allocations: 51.52 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.9162, allocations: 0 / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9163, allocations: 0.9062 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.9163, allocations: 3.984 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.9164, allocations: 122.2 kB / 1.11 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9164, allocations: 5.406 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.9164, allocations: 5 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.9165, allocations: 0 / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.9165, allocations: 0 / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.9165, allocations: 6.547 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9165, allocations: 3.953 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.9166, allocations: 53.14 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.9167, allocations: 81.11 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9167, allocations: 1.969 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.9168, allocations: 4.859 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.9168, allocations: 4 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.9168, allocations: 3.953 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.9169, allocations: 78.06 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9169, allocations: 0 / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000315/0.9172, allocations: 4 kB / 1.11 GB, free: 10.01 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001728/0.9174, allocations: 107.2 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.387e-05/0.9175, allocations: 7.938 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9175, allocations: 4.812 kB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.9175, allocations: 4 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.9176, allocations: 3.891 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001818/0.9178, allocations: 46.69 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.9182, allocations: 0.6755 MB / 1.111 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.9182, allocations: 4.312 kB / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.9183, allocations: 11.42 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.9183, allocations: 0 / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.002708/0.921, allocations: 267 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)