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.003859/0.003858, allocations: 354.1 kB / 15.94 MB, free: 6.207 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.496/1.496, allocations: 165.8 MB / 182.5 MB, free: 5.375 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.032/4.032, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00171/0.00171, allocations: 203.3 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 12 kB / 0.7423 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3264, allocations: 67.45 MB / 0.8082 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0005608/0.327, allocations: 300.3 kB / 0.8085 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.3271, allocations: 34.64 kB / 0.8085 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-06/0.3272, allocations: 0 / 0.8085 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.309e-06/0.3272, allocations: 0 / 0.8085 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.459e-06/0.3272, allocations: 0 / 0.8085 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3274, allocations: 15.98 kB / 0.8085 GB, free: 28.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.935e-05/0.3275, allocations: 0 / 0.8085 GB, free: 28.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.3275, allocations: 0 / 0.8085 GB, free: 28.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.3275, allocations: 4 kB / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.3276, allocations: 4 kB / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.433e-06/0.3276, allocations: 0 / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.3277, allocations: 23.91 kB / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-06/0.3277, allocations: 0 / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.3277, allocations: 25.7 kB / 0.8086 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.488e-05/0.3278, allocations: 15.91 kB / 0.8086 GB, free: 28.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.284e-06/0.3278, allocations: 0 / 0.8086 GB, free: 28.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.702e-06/0.3278, allocations: 0 / 0.8086 GB, free: 28.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.3278, allocations: 4 kB / 0.8086 GB, free: 28.36 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.0001862/0.328, allocations: 311.4 kB / 0.8089 GB, free: 28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3281, allocations: 12.09 kB / 0.8089 GB, free: 27.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.3281, allocations: 4 kB / 0.8089 GB, free: 27.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.38e-05/0.3282, allocations: 163.1 kB / 0.809 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.3282, allocations: 0 / 0.809 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3282, allocations: 0 / 0.809 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.3283, allocations: 29.64 kB / 0.8091 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3283, allocations: 4 kB / 0.8091 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-06/0.3283, allocations: 3.953 kB / 0.8091 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-06/0.3283, allocations: 0 / 0.8091 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.3284, allocations: 7.938 kB / 0.8091 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.344e-05/0.3285, allocations: 149.7 kB / 0.8092 GB, free: 27.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.223e-05/0.3285, allocations: 18.61 kB / 0.8092 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.3285, allocations: 4.859 kB / 0.8093 GB, free: 27.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3286, allocations: 4.062 kB / 0.8093 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3286, allocations: 30.56 kB / 0.8093 GB, free: 27.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.72e-06/0.3286, allocations: 3.938 kB / 0.8093 GB, free: 27.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000112/0.3287, allocations: 37.7 kB / 0.8093 GB, free: 27.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3288, allocations: 59.36 kB / 0.8094 GB, free: 27.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.931e-05/0.3288, allocations: 93.84 kB / 0.8095 GB, free: 27.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.26e-06/0.3288, allocations: 25.7 kB / 0.8095 GB, free: 27.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.28e-05/0.3289, allocations: 80.14 kB / 0.8096 GB, free: 27.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3289, allocations: 3.906 kB / 0.8096 GB, free: 27.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-06/0.3289, allocations: 0 / 0.8096 GB, free: 27.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.329, allocations: 310.8 kB / 0.8099 GB, free: 26.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.329, allocations: 4.125 kB / 0.8099 GB, free: 26.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.329, allocations: 4 kB / 0.8099 GB, free: 26.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.623e-05/0.329, allocations: 0 / 0.8099 GB, free: 26.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-06/0.329, allocations: 0 / 0.8099 GB, free: 26.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.604e-05/0.3291, allocations: 41.64 kB / 0.8099 GB, free: 26.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3291, allocations: 11.92 kB / 0.8099 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-06/0.3291, allocations: 0 / 0.8099 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3292, allocations: 0 / 0.8099 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.3292, allocations: 4 kB / 0.8099 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.58e-06/0.3292, allocations: 4.094 kB / 0.8099 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.3293, allocations: 3.953 kB / 0.8099 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3293, allocations: 0 / 0.8099 GB, free: 26.74 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 4.695e-05/0.3293, allocations: 110.9 kB / 0.81 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-06/0.3294, allocations: 3.984 kB / 0.8101 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3295, allocations: 44.75 kB / 0.8101 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-06/0.3295, allocations: 4.031 kB / 0.8101 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.73e-06/0.3295, allocations: 0 / 0.8101 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.463e-06/0.3295, allocations: 4 kB / 0.8101 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.3297, allocations: 145.6 kB / 0.8102 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-06/0.3297, allocations: 3.984 kB / 0.8102 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.3297, allocations: 0 / 0.8102 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.665e-06/0.3297, allocations: 4 kB / 0.8102 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.3297, allocations: 0 / 0.8102 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3297, allocations: 0 / 0.8102 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.776e-06/0.3298, allocations: 4 kB / 0.8103 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.078e-05/0.3299, allocations: 61.09 kB / 0.8103 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.3299, allocations: 87.2 kB / 0.8104 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.3299, allocations: 3.938 kB / 0.8104 GB, free: 26.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.56e-05/0.33, allocations: 0 / 0.8104 GB, free: 26.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.33, allocations: 3.938 kB / 0.8104 GB, free: 26.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.33, allocations: 0 / 0.8104 GB, free: 26.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.3301, allocations: 79.28 kB / 0.8105 GB, free: 26.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.3301, allocations: 0 / 0.8105 GB, free: 26.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.3303, allocations: 8.031 kB / 0.8105 GB, free: 26.08 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.000164/0.3305, allocations: 99.25 kB / 0.8106 GB, free: 25.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.199e-05/0.3306, allocations: 7.984 kB / 0.8106 GB, free: 25.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.349e-06/0.3306, allocations: 0 / 0.8106 GB, free: 25.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.3306, allocations: 0 / 0.8106 GB, free: 25.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.3308, allocations: 7.953 kB / 0.8106 GB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.331, allocations: 82.83 kB / 0.8107 GB, free: 25.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.3311, allocations: 0.677 MB / 0.8113 GB, free: 25.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.221e-05/0.3311, allocations: 0 / 0.8113 GB, free: 25.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.3312, allocations: 11.38 kB / 0.8113 GB, free: 25.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.369e-06/0.3312, allocations: 0 / 0.8113 GB, free: 25.14 MB / 378.7 MB Notification: Performance of Templates: time 0.002264/0.3334, allocations: 274.9 kB / 0.8116 GB, free: 24.87 MB / 378.7 MB