Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001368, allocations: 182.4 kB / 15.77 MB, free: 6.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7326/0.7326, allocations: 82.94 MB / 99.43 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 325.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009908/0.0009903, allocations: 107.5 kB / 393.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000637/0.0006371, allocations: 12 kB / 471.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4094, allocations: 67.43 MB / 0.5263 GB, free: 55.47 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynominal): time 0.001616/0.411, allocations: 1.134 MB / 0.5275 GB, free: 54.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002593/0.4113, allocations: 88.09 kB / 0.5275 GB, free: 54.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.4114, allocations: 4 kB / 0.5275 GB, free: 54.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.4114, allocations: 1.766 kB / 0.5275 GB, free: 54.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.4115, allocations: 5.688 kB / 0.5275 GB, free: 54.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.4117, allocations: 18.64 kB / 0.5276 GB, free: 54.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.494e-05/0.4118, allocations: 19.55 kB / 0.5276 GB, free: 54.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.29e-05/0.4118, allocations: 3.734 kB / 0.5276 GB, free: 54.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.4119, allocations: 5.125 kB / 0.5276 GB, free: 54.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.4119, allocations: 14.64 kB / 0.5276 GB, free: 54.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.412, allocations: 1.281 kB / 0.5276 GB, free: 54.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.4121, allocations: 16.05 kB / 0.5276 GB, free: 54.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.4121, allocations: 10.72 kB / 0.5276 GB, free: 54.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.4122, allocations: 26.86 kB / 0.5277 GB, free: 54.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.159e-05/0.4123, allocations: 22.72 kB / 0.5277 GB, free: 54.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.768e-06/0.4123, allocations: 0 / 0.5277 GB, free: 54.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.211e-06/0.4123, allocations: 1.062 kB / 0.5277 GB, free: 54.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.4123, allocations: 0 / 0.5277 GB, free: 54.5 MB / 410.7 MB 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.00036/0.4127, allocations: 347.9 kB / 0.528 GB, free: 54.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4127, allocations: 9.281 kB / 0.528 GB, free: 54.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.4128, allocations: 5.109 kB / 0.528 GB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.4129, allocations: 170.4 kB / 0.5282 GB, free: 53.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4129, allocations: 5.031 kB / 0.5282 GB, free: 53.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.4129, allocations: 1.531 kB / 0.5282 GB, free: 53.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4131, allocations: 55.02 kB / 0.5282 GB, free: 53.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4131, allocations: 0 / 0.5282 GB, free: 53.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-06/0.4131, allocations: 9.047 kB / 0.5283 GB, free: 53.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-06/0.4132, allocations: 0 / 0.5283 GB, free: 53.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.4134, allocations: 46.62 kB / 0.5283 GB, free: 53.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.4137, allocations: 255.8 kB / 0.5285 GB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.4138, allocations: 47.77 kB / 0.5286 GB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.4139, allocations: 6.984 kB / 0.5286 GB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.4139, allocations: 36.34 kB / 0.5286 GB, free: 53.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.008e-06/0.4139, allocations: 0 / 0.5286 GB, free: 53.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004307/0.4144, allocations: 104.1 kB / 0.5287 GB, free: 53.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.4144, allocations: 55.34 kB / 0.5288 GB, free: 53.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.4145, allocations: 110.8 kB / 0.5289 GB, free: 53.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.4145, allocations: 29.64 kB / 0.5289 GB, free: 53.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.4146, allocations: 82.08 kB / 0.529 GB, free: 53.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4146, allocations: 9.594 kB / 0.529 GB, free: 53.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-06/0.4146, allocations: 0 / 0.529 GB, free: 53.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.4147, allocations: 314 kB / 0.5293 GB, free: 52.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.4148, allocations: 23.94 kB / 0.5293 GB, free: 52.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.4149, allocations: 24.36 kB / 0.5294 GB, free: 52.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.415, allocations: 25.75 kB / 0.5294 GB, free: 52.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-06/0.415, allocations: 0 / 0.5294 GB, free: 52.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000257/0.4153, allocations: 85.03 kB / 0.5295 GB, free: 52.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4153, allocations: 4.125 kB / 0.5295 GB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-06/0.4154, allocations: 5.328 kB / 0.5295 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4154, allocations: 0 / 0.5295 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4155, allocations: 15.05 kB / 0.5295 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4155, allocations: 6.062 kB / 0.5295 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.4156, allocations: 7.469 kB / 0.5295 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.4156, allocations: 2.078 kB / 0.5295 GB, free: 52.8 MB / 410.7 MB 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 5.904e-05/0.4157, allocations: 111.9 kB / 0.5296 GB, free: 52.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.4157, allocations: 7.453 kB / 0.5296 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.416, allocations: 88.83 kB / 0.5297 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.631e-06/0.416, allocations: 3.953 kB / 0.5297 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-06/0.4161, allocations: 256 / 0.5297 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.114e-06/0.4161, allocations: 2.078 kB / 0.5297 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4162, allocations: 166.7 kB / 0.5299 GB, free: 52.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-06/0.4162, allocations: 0 / 0.5299 GB, free: 52.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.4164, allocations: 11.42 kB / 0.5299 GB, free: 52.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.4164, allocations: 5.375 kB / 0.5299 GB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4164, allocations: 0.6562 kB / 0.5299 GB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.4164, allocations: 3.938 kB / 0.5299 GB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.083e-06/0.4165, allocations: 5.328 kB / 0.5299 GB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.417, allocations: 175.7 kB / 0.5301 GB, free: 52.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.417, allocations: 79 kB / 0.5301 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.417, allocations: 0.75 kB / 0.5301 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4171, allocations: 8.984 kB / 0.5301 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.4172, allocations: 6.734 kB / 0.5301 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-06/0.4172, allocations: 0 / 0.5301 GB, free: 52.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.013e-05/0.4173, allocations: 91 kB / 0.5302 GB, free: 52.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4173, allocations: 4 kB / 0.5302 GB, free: 52.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003142/0.4176, allocations: 12.86 kB / 0.5302 GB, free: 52.1 MB / 410.7 MB 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.0001322/0.4177, allocations: 97.73 kB / 0.5303 GB, free: 52.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.418, allocations: 56.05 kB / 0.5304 GB, free: 52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.808e-06/0.418, allocations: 1.375 kB / 0.5304 GB, free: 52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4182, allocations: 27.17 kB / 0.5304 GB, free: 51.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.4184, allocations: 2.078 kB / 0.5304 GB, free: 51.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.4187, allocations: 118.3 kB / 0.5305 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4188, allocations: 0.6812 MB / 0.5312 GB, free: 51.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.046e-05/0.4189, allocations: 2.125 kB / 0.5312 GB, free: 51.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.4189, allocations: 12.75 kB / 0.5312 GB, free: 51.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.225e-06/0.4189, allocations: 0 / 0.5312 GB, free: 51.17 MB / 410.7 MB Notification: Performance of Templates: time 0.002913/0.4218, allocations: 461 kB / 0.5317 GB, free: 51.1 MB / 410.7 MB