Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8728/0.8728, allocations: 127.4 MB / 134.9 MB, free: 3.473 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 182 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000902/0.0009021, allocations: 93.77 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.62e-05, allocations: 6 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 76.77 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.2593, allocations: 101.8 MB / 0.721 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.2596, allocations: 79.95 kB / 0.721 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002352/0.262, allocations: 0.7862 MB / 0.7218 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.462e-06/0.262, allocations: 4 kB / 0.7218 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.262, allocations: 0 / 0.7218 GB, free: 4.254 MB / 0.4948 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.0003194/0.2624, allocations: 334.4 kB / 0.7221 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2624, allocations: 12.03 kB / 0.7221 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.2624, allocations: 3.953 kB / 0.7221 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2626, allocations: 175 kB / 0.7223 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2626, allocations: 0 / 0.7223 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2626, allocations: 4 kB / 0.7223 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.374e-05/0.2627, allocations: 15.98 kB / 0.7223 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.2627, allocations: 33.7 kB / 0.7224 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.2628, allocations: 0 / 0.7224 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.2628, allocations: 0 / 0.7224 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2628, allocations: 0 / 0.7224 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.2631, allocations: 269.2 kB / 0.7226 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.2632, allocations: 34.61 kB / 0.7226 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.2633, allocations: 8.922 kB / 0.7226 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.2633, allocations: 4 kB / 0.7227 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2633, allocations: 30.56 kB / 0.7227 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.2633, allocations: 3.984 kB / 0.7227 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.2635, allocations: 49.69 kB / 0.7227 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.2635, allocations: 55.41 kB / 0.7228 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.2636, allocations: 96.95 kB / 0.7229 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2636, allocations: 33.62 kB / 0.7229 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.2637, allocations: 84.14 kB / 0.723 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.2637, allocations: 3.906 kB / 0.723 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.2637, allocations: 0 / 0.723 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.2638, allocations: 314.8 kB / 0.7233 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.2638, allocations: 8.031 kB / 0.7233 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.2638, allocations: 11.98 kB / 0.7233 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.2639, allocations: 4 kB / 0.7233 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2639, allocations: 0 / 0.7233 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.496e-05/0.264, allocations: 53.69 kB / 0.7234 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.264, allocations: 4 kB / 0.7234 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.264, allocations: 0 / 0.7234 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2641, allocations: 3.938 kB / 0.7234 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.2642, allocations: 16.08 kB / 0.7234 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2642, allocations: 0 / 0.7234 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.2642, allocations: 8 kB / 0.7234 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.2642, allocations: 3.953 kB / 0.7234 GB, free: 2.41 MB / 0.4948 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 (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.359e-05/0.2643, allocations: 109 kB / 0.7235 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.2643, allocations: 7.844 kB / 0.7235 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.2645, allocations: 49.66 kB / 0.7236 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2645, allocations: 4.031 kB / 0.7236 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2645, allocations: 0 / 0.7236 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2645, allocations: 0 / 0.7236 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2647, allocations: 146.2 kB / 0.7237 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2647, allocations: 0 / 0.7237 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.2647, allocations: 11.98 kB / 0.7237 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2647, allocations: 0 / 0.7237 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2648, allocations: 0 / 0.7237 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2648, allocations: 4 kB / 0.7237 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2648, allocations: 0 / 0.7237 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2649, allocations: 151.4 kB / 0.7239 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.265, allocations: 81.02 kB / 0.7239 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.265, allocations: 4 kB / 0.7239 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2651, allocations: 11.92 kB / 0.724 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.2651, allocations: 0 / 0.724 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.2651, allocations: 4.25 kB / 0.724 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.2652, allocations: 91.31 kB / 0.724 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2652, allocations: 0 / 0.724 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002325/0.2654, allocations: 11.98 kB / 0.7241 GB, free: 1.656 MB / 0.4948 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 (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.0001354/0.2656, allocations: 99.25 kB / 0.7242 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.2656, allocations: 16 kB / 0.7242 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2657, allocations: 0 / 0.7242 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.2657, allocations: 15.94 kB / 0.7242 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.2658, allocations: 12.02 kB / 0.7242 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.266, allocations: 67.92 kB / 0.7243 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2663, allocations: 0.6807 MB / 0.7249 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.2663, allocations: 0 / 0.7249 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.2663, allocations: 11.44 kB / 0.7249 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of SimCode: time 3e-07/0.2663, allocations: 0 / 0.7249 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of Templates: time 0.002059/0.2684, allocations: 448.7 kB / 0.7254 GB, free: 268 kB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)