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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.9 MB / 297.4 MB, free: 6.414 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: 180.8 kB / 366.7 MB, free: 1.676 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.602/1.602, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.000863/0.0008629, allocations: 90.81 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.272e-05, allocations: 11.98 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5839/0.5839, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.7565, allocations: 138.2 MB / 1.108 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.7568, allocations: 71.95 kB / 1.108 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002473/0.7593, allocations: 0.7673 MB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7593, allocations: 0.7188 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7593, allocations: 3.391 kB / 1.109 GB, free: 11.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003721/0.7597, allocations: 336.5 kB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7598, allocations: 12.03 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.7598, allocations: 4.562 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.76, allocations: 179.8 kB / 1.11 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.76, allocations: 3.25 kB / 1.11 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.76, allocations: 0 / 1.11 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.122e-05/0.7601, allocations: 12.78 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.7602, allocations: 42.31 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7602, allocations: 0 / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.7602, allocations: 0.5938 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7602, allocations: 0 / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.7606, allocations: 254.3 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.7607, allocations: 27.45 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.7608, allocations: 17.75 kB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.7608, allocations: 4 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.7608, allocations: 35.56 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.7609, allocations: 3.094 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.7611, allocations: 45.69 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.7611, allocations: 51.41 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.7612, allocations: 97 kB / 1.11 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.7612, allocations: 25.7 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.7613, allocations: 84.14 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.7613, allocations: 11.83 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.7613, allocations: 1.469 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7614, allocations: 314.8 kB / 1.111 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.7614, allocations: 5.781 kB / 1.111 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.7614, allocations: 8 kB / 1.111 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.7615, allocations: 11.94 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7615, allocations: 0 / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.7616, allocations: 57.66 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7616, allocations: 7.984 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7617, allocations: 2.375 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7617, allocations: 2.719 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.7618, allocations: 12 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7618, allocations: 3.125 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.7619, allocations: 12.61 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.7619, allocations: 0.5938 kB / 1.111 GB, free: 9.367 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 (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.726e-05/0.762, allocations: 109.3 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.762, allocations: 4 kB / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.7622, allocations: 53.64 kB / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.7622, allocations: 0 / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7622, allocations: 2.5 kB / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.7622, allocations: 0 / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.7623, allocations: 138.2 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7623, allocations: 3.984 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.7624, allocations: 11.94 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.7624, allocations: 5.641 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.7624, allocations: 0 / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7624, allocations: 0 / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7624, allocations: 4 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.7626, allocations: 148.4 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.7626, allocations: 81.09 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7627, allocations: 3.953 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.7628, allocations: 8 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.7628, allocations: 3.984 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.7628, allocations: 4 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.7629, allocations: 85.84 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7629, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002282/0.7631, allocations: 12.03 kB / 1.111 GB, free: 8.625 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 (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.0001745/0.7633, allocations: 107.2 kB / 1.111 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.7634, allocations: 15.94 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7634, allocations: 1.594 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.315e-05/0.7634, allocations: 12 kB / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.7636, allocations: 0 / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.7638, allocations: 66.75 kB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.7641, allocations: 0.6814 MB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.7641, allocations: 3.984 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.7642, allocations: 11.44 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7642, allocations: 0 / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of Templates: time 0.002168/0.7663, allocations: 436.5 kB / 1.113 GB, free: 7.273 MB / 0.7136 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)