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.003528/0.003534, allocations: 359.9 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.396/1.396, allocations: 165.8 MB / 183.1 MB, free: 5.898 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.168 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.001828/0.001828, allocations: 181.2 kB / 0.6668 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004552, allocations: 12 kB / 0.7429 GB, free: 44 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5012, allocations: 67.45 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynominal): time 0.001888/0.5031, allocations: 1.142 MB / 0.8098 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.5035, allocations: 88.52 kB / 0.8099 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.5035, allocations: 1.375 kB / 0.8099 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.5036, allocations: 1.828 kB / 0.8099 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.5036, allocations: 5.031 kB / 0.8099 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.5038, allocations: 20.47 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.5039, allocations: 22.8 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.504, allocations: 5.469 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.5041, allocations: 5.641 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.5041, allocations: 15.16 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.5041, allocations: 2.344 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.5042, allocations: 16 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.5043, allocations: 3.312 kB / 0.81 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.5043, allocations: 30.73 kB / 0.8101 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.233e-05/0.5044, allocations: 28.81 kB / 0.8101 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5044, allocations: 0.6875 kB / 0.8101 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5044, allocations: 0 / 0.8101 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.5044, allocations: 2.125 kB / 0.8101 GB, free: 244.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004336/0.5049, allocations: 347.2 kB / 0.8104 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5049, allocations: 10.62 kB / 0.8104 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.505, allocations: 1.984 kB / 0.8104 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.5051, allocations: 169.4 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5051, allocations: 0.5312 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.5051, allocations: 1.344 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.5054, allocations: 57.28 kB / 0.8106 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5054, allocations: 0.7031 kB / 0.8106 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5054, allocations: 4.797 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5054, allocations: 1.125 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.5057, allocations: 51.62 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.5061, allocations: 259.5 kB / 0.8109 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.5063, allocations: 45.89 kB / 0.811 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.5065, allocations: 28.3 kB / 0.811 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.668e-05/0.5065, allocations: 6.156 kB / 0.811 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.5066, allocations: 36.55 kB / 0.8111 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.5066, allocations: 0 / 0.8111 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005556/0.5071, allocations: 112.7 kB / 0.8112 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.5072, allocations: 52.03 kB / 0.8112 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.5073, allocations: 107.8 kB / 0.8113 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.5073, allocations: 25.7 kB / 0.8113 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.5073, allocations: 85.34 kB / 0.8114 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.5074, allocations: 9.859 kB / 0.8114 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5074, allocations: 0 / 0.8114 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.5074, allocations: 315 kB / 0.8117 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.5076, allocations: 27.48 kB / 0.8118 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5077, allocations: 22.06 kB / 0.8118 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5079, allocations: 26.58 kB / 0.8118 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5079, allocations: 1.375 kB / 0.8118 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00034/0.5083, allocations: 82.38 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5083, allocations: 4.594 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5083, allocations: 5.078 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5083, allocations: 4.484 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5085, allocations: 11.86 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5085, allocations: 0 / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.5086, allocations: 9.016 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.5086, allocations: 4.094 kB / 0.8119 GB, free: 243.1 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 (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 6.958e-05/0.5087, allocations: 115.5 kB / 0.812 GB, free: 243 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.5087, allocations: 6.016 kB / 0.812 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.5091, allocations: 92.61 kB / 0.8121 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5092, allocations: 3.953 kB / 0.8121 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5092, allocations: 2.453 kB / 0.8121 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.5092, allocations: 79.61 kB / 0.8122 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.5092, allocations: 3.906 kB / 0.8122 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5094, allocations: 9 kB / 0.8122 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.5094, allocations: 4.109 kB / 0.8122 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004047/0.5098, allocations: 161 kB / 0.8124 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003761/0.5102, allocations: 257.8 kB / 0.8126 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000164/0.5104, allocations: 27.92 kB / 0.8127 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.5105, allocations: 86.91 kB / 0.8127 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of Backend: time 6.41e-07/0.5105, allocations: 0 / 0.8127 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006022/0.5111, allocations: 106.2 kB / 0.8128 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004255/0.5115, allocations: 0.5661 MB / 0.8134 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.003468/0.515, allocations: 0.5535 MB / 0.8139 GB, free: 241.7 MB / 0.5886 GB