Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001443, allocations: 185.5 kB / 15.77 MB, free: 6 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.8521/0.8521, allocations: 82.92 MB / 99.42 MB, free: 3.297 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.344/2.344, allocations: 205.4 MB / 325.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001045, allocations: 95.14 kB / 393.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004587, allocations: 16 kB / 471.6 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09042, allocations: 67.44 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.000705/0.09118, allocations: 304.3 kB / 0.5266 GB, free: 14.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.09138, allocations: 37.62 kB / 0.5267 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.09141, allocations: 4 kB / 0.5267 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.311e-06/0.09143, allocations: 0 / 0.5267 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.645e-06/0.09145, allocations: 0 / 0.5267 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.09166, allocations: 15.92 kB / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.86e-05/0.0917, allocations: 0 / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.09175, allocations: 0 / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.09177, allocations: 0 / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.607e-05/0.09182, allocations: 4 kB / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.244e-06/0.09184, allocations: 0 / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.09193, allocations: 19.98 kB / 0.5267 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.09195, allocations: 3.984 kB / 0.5267 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.09199, allocations: 25.7 kB / 0.5268 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.008e-05/0.09206, allocations: 11.92 kB / 0.5268 GB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.53e-06/0.09207, allocations: 0 / 0.5268 GB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.842e-06/0.09209, allocations: 0 / 0.5268 GB, free: 14.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.0921, allocations: 0 / 0.5268 GB, free: 14.63 MB / 378.7 MB 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.0003129/0.09242, allocations: 315.4 kB / 0.5271 GB, free: 14.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.09247, allocations: 8.031 kB / 0.5271 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.09251, allocations: 0 / 0.5271 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.09264, allocations: 163.1 kB / 0.5272 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.09267, allocations: 11.94 kB / 0.5272 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.09268, allocations: 0 / 0.5272 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.09278, allocations: 33.69 kB / 0.5273 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.197e-06/0.0928, allocations: 0 / 0.5273 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.09282, allocations: 3.953 kB / 0.5273 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-06/0.09283, allocations: 0 / 0.5273 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.09287, allocations: 4 kB / 0.5273 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.09304, allocations: 141.7 kB / 0.5274 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.0931, allocations: 30.48 kB / 0.5274 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.09315, allocations: 3.984 kB / 0.5274 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.0932, allocations: 34.56 kB / 0.5275 GB, free: 13.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.839e-06/0.09321, allocations: 0 / 0.5275 GB, free: 13.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.09334, allocations: 37.75 kB / 0.5275 GB, free: 13.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.09341, allocations: 55.36 kB / 0.5276 GB, free: 13.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.09347, allocations: 93.98 kB / 0.5277 GB, free: 13.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.0935, allocations: 25.7 kB / 0.5277 GB, free: 13.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.09356, allocations: 80.14 kB / 0.5278 GB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.09359, allocations: 3.906 kB / 0.5278 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-06/0.09361, allocations: 0 / 0.5278 GB, free: 13.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.09377, allocations: 318.8 kB / 0.5281 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.0938, allocations: 3.938 kB / 0.5281 GB, free: 13.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-06/0.09382, allocations: 0 / 0.5281 GB, free: 13.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.231e-05/0.09385, allocations: 8.047 kB / 0.5281 GB, free: 13.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-06/0.09386, allocations: 4 kB / 0.5281 GB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.158e-05/0.09395, allocations: 29.7 kB / 0.5281 GB, free: 13.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.09398, allocations: 4 kB / 0.5281 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.195e-06/0.094, allocations: 3.938 kB / 0.5281 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.09402, allocations: 4 kB / 0.5281 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.09408, allocations: 0 / 0.5281 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.185e-06/0.0941, allocations: 0 / 0.5281 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.09413, allocations: 3.953 kB / 0.5281 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.09415, allocations: 4 kB / 0.5281 GB, free: 13.02 MB / 378.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 (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 9.379e-05/0.09426, allocations: 113.9 kB / 0.5282 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-06/0.09428, allocations: 0 / 0.5282 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.09441, allocations: 44.77 kB / 0.5283 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.09442, allocations: 0 / 0.5283 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-06/0.09444, allocations: 0 / 0.5283 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.677e-06/0.09445, allocations: 3.984 kB / 0.5283 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.09459, allocations: 145.6 kB / 0.5284 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-06/0.09461, allocations: 4.031 kB / 0.5284 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.09465, allocations: 4 kB / 0.5284 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.701e-06/0.09467, allocations: 0 / 0.5284 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.09469, allocations: 0 / 0.5284 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0947, allocations: 0 / 0.5284 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-06/0.0947, allocations: 0 / 0.5284 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.09482, allocations: 69.02 kB / 0.5285 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.09488, allocations: 81.42 kB / 0.5286 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.0949, allocations: 0 / 0.5286 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/0.09493, allocations: 0 / 0.5286 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.09495, allocations: 8 kB / 0.5286 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.09497, allocations: 3.938 kB / 0.5286 GB, free: 12.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.895e-05/0.09502, allocations: 75.28 kB / 0.5287 GB, free: 12.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.2e-07/0.09503, allocations: 0 / 0.5287 GB, free: 12.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.0953, allocations: 7.984 kB / 0.5287 GB, free: 12.37 MB / 378.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 (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.0001697/0.09548, allocations: 103.2 kB / 0.5288 GB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.795e-05/0.09556, allocations: 8 kB / 0.5288 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.547e-06/0.09558, allocations: 0 / 0.5288 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.0956, allocations: 4 kB / 0.5288 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.09572, allocations: 11.83 kB / 0.5288 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.09592, allocations: 80.69 kB / 0.5289 GB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.09627, allocations: 0.6731 MB / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.09631, allocations: 4.125 kB / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.09635, allocations: 11.44 kB / 0.5295 GB, free: 11.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.214e-06/0.09637, allocations: 0 / 0.5295 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Templates: time 0.002355/0.09873, allocations: 273.8 kB / 0.5298 GB, free: 11.15 MB / 378.7 MB