Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Polynominal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.405/2.405, allocations: 251.1 MB / 266.1 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 184.9 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.392/2.392, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 103 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004629, allocations: 15.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 106.2 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.4728, allocations: 131.5 MB / 1.027 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4732, allocations: 75.95 kB / 1.027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003373/0.4766, allocations: 0.7779 MB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4767, allocations: 0 / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4767, allocations: 0 / 1.028 GB, free: 12.9 MB / 0.6823 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.0004899/0.4772, allocations: 351.2 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4772, allocations: 8.031 kB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.4773, allocations: 0 / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.4774, allocations: 174.9 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4775, allocations: 0 / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.4775, allocations: 3.938 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.4777, allocations: 61.67 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4778, allocations: 0 / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4778, allocations: 3.938 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4778, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.4781, allocations: 51.95 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.4787, allocations: 268.9 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.4789, allocations: 50.55 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.479, allocations: 4.062 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.479, allocations: 34.5 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/0.479, allocations: 0 / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005861/0.4796, allocations: 105.6 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.4797, allocations: 51.41 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.4798, allocations: 96.98 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4798, allocations: 29.7 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.4799, allocations: 84.14 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4799, allocations: 7.844 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.48, allocations: 4.125 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4801, allocations: 322.8 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.4803, allocations: 19.98 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4804, allocations: 23.98 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.4806, allocations: 32.03 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4806, allocations: 7.875 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003734/0.481, allocations: 85.56 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.481, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4811, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4811, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4812, allocations: 12.23 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4812, allocations: 0 / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.787e-05/0.4813, allocations: 12 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.4814, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 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 0.0001146/0.4815, allocations: 125.8 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.4815, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.482, allocations: 89.12 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.482, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.482, allocations: 4.031 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.482, allocations: 3.984 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.4823, allocations: 161.6 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4823, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4824, allocations: 11.98 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4824, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4824, allocations: 4 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4825, allocations: 3.938 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4825, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.4829, allocations: 183.4 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.483, allocations: 88.98 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.483, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4831, allocations: 12.03 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.4832, allocations: 3.984 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4832, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.4833, allocations: 87.28 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4833, allocations: 0 / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002897/0.4836, allocations: 8 kB / 1.031 GB, free: 9.945 MB / 0.6823 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.0001814/0.4838, allocations: 103.2 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.4841, allocations: 55.97 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4842, allocations: 3.938 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.4843, allocations: 28.03 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.4846, allocations: 13.98 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.4849, allocations: 120.6 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.4852, allocations: 0.6809 MB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.4853, allocations: 0 / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.4853, allocations: 11.44 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/0.4853, allocations: 4.062 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of Templates: time 0.003284/0.4886, allocations: 460.1 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB