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.002479/0.002479, allocations: 356.5 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.452/1.452, allocations: 165.8 MB / 183.1 MB, free: 5.902 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.313/4.313, allocations: 410.7 MB / 0.6001 GB, free: 2.199 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002683/0.002683, allocations: 180.4 kB / 0.6668 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004519, allocations: 16 kB / 0.7429 GB, free: 16 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4837, allocations: 67.44 MB / 0.8087 GB, free: 245.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0007758/0.4845, allocations: 308.8 kB / 0.809 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.4847, allocations: 30.69 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-06/0.4847, allocations: 3.281 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.4848, allocations: 1.75 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-06/0.4848, allocations: 0 / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.485, allocations: 13.81 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.429e-05/0.4851, allocations: 1.031 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.4851, allocations: 1.828 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.4851, allocations: 3.141 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.4852, allocations: 6.672 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.4852, allocations: 1.656 kB / 0.8091 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.4853, allocations: 15.59 kB / 0.8091 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.4853, allocations: 0.7969 kB / 0.8091 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.4854, allocations: 30.58 kB / 0.8091 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.693e-05/0.4854, allocations: 10.52 kB / 0.8092 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4855, allocations: 2.406 kB / 0.8092 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4855, allocations: 0 / 0.8092 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.4855, allocations: 1.438 kB / 0.8092 GB, free: 245.4 MB / 0.5886 GB 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.0002268/0.4857, allocations: 310.8 kB / 0.8095 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4858, allocations: 10.3 kB / 0.8095 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.4858, allocations: 3.281 kB / 0.8095 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.586e-05/0.4859, allocations: 164.2 kB / 0.8096 GB, free: 244.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4859, allocations: 2.906 kB / 0.8096 GB, free: 244.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.4859, allocations: 0 / 0.8096 GB, free: 244.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/0.486, allocations: 33.92 kB / 0.8097 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.486, allocations: 0.6562 kB / 0.8097 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4861, allocations: 4.453 kB / 0.8097 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4861, allocations: 2.188 kB / 0.8097 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.4861, allocations: 1.766 kB / 0.8097 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.4862, allocations: 145.2 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.389e-05/0.4863, allocations: 22.91 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.4863, allocations: 6.375 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.4863, allocations: 3.5 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.4864, allocations: 36.78 kB / 0.8099 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.4864, allocations: 0 / 0.8099 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.4865, allocations: 33.61 kB / 0.8099 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.4866, allocations: 56.02 kB / 0.81 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.1e-05/0.4866, allocations: 93.83 kB / 0.81 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.4866, allocations: 26.42 kB / 0.8101 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.586e-05/0.4866, allocations: 80.8 kB / 0.8102 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.4867, allocations: 11.53 kB / 0.8102 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.4867, allocations: 0 / 0.8102 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.4867, allocations: 312.5 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.4868, allocations: 1.031 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.4868, allocations: 2.906 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.016e-05/0.4868, allocations: 6.406 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4868, allocations: 0 / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.309e-05/0.4869, allocations: 38.89 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4869, allocations: 4.094 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4869, allocations: 1.969 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4869, allocations: 0 / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.487, allocations: 3.781 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.487, allocations: 0.7969 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.4871, allocations: 5.734 kB / 0.8105 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4871, allocations: 1.188 kB / 0.8105 GB, free: 243.9 MB / 0.5886 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 (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 5.528e-05/0.4871, allocations: 116.2 kB / 0.8106 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.4872, allocations: 0.6562 kB / 0.8106 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.4873, allocations: 42.88 kB / 0.8107 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4873, allocations: 1.547 kB / 0.8107 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4873, allocations: 8.297 kB / 0.8107 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.4873, allocations: 77.77 kB / 0.8108 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.4874, allocations: 5.328 kB / 0.8108 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.4874, allocations: 2.938 kB / 0.8108 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.4874, allocations: 1.312 kB / 0.8108 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.8e-05/0.4875, allocations: 112.2 kB / 0.8109 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.081e-05/0.4876, allocations: 209.2 kB / 0.8111 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.927e-05/0.4876, allocations: 2.469 kB / 0.8111 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.503e-05/0.4877, allocations: 75.98 kB / 0.8111 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of Backend: time 4.41e-07/0.4877, allocations: 0 / 0.8111 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.4881, allocations: 86.89 kB / 0.8112 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of SimCode: time 0.000257/0.4883, allocations: 0.5283 MB / 0.8117 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.002737/0.4911, allocations: 326.6 kB / 0.8121 GB, free: 242.6 MB / 0.5886 GB