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.002415/0.002419, allocations: 354.5 kB / 15.95 MB, free: 6.195 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.328/1.328, allocations: 165.9 MB / 182.5 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 3.923/3.923, allocations: 410.7 MB / 0.5995 GB, free: 37.34 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001795/0.001795, allocations: 180.5 kB / 0.6662 GB, free: 2.059 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004592, allocations: 17.12 kB / 0.7423 GB, free: 73.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 67.45 MB / 0.8081 GB, free: 17.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynominal): time 0.001336/0.1161, allocations: 1.14 MB / 0.8093 GB, free: 16.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.1163, allocations: 91.72 kB / 0.8093 GB, free: 15.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.1164, allocations: 0 / 0.8093 GB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.1164, allocations: 0 / 0.8093 GB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.019e-05/0.1165, allocations: 3.938 kB / 0.8093 GB, free: 15.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.1167, allocations: 15.97 kB / 0.8094 GB, free: 15.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.1167, allocations: 23.92 kB / 0.8094 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.1168, allocations: 4 kB / 0.8094 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.1169, allocations: 7.938 kB / 0.8094 GB, free: 15.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.291e-05/0.1169, allocations: 11.98 kB / 0.8094 GB, free: 15.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1169, allocations: 4 kB / 0.8094 GB, free: 15.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.117, allocations: 15.98 kB / 0.8094 GB, free: 15.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.1171, allocations: 11.92 kB / 0.8094 GB, free: 15.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.1171, allocations: 25.7 kB / 0.8095 GB, free: 15.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.456e-05/0.1172, allocations: 23.97 kB / 0.8095 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.834e-06/0.1172, allocations: 0 / 0.8095 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.036e-06/0.1172, allocations: 0 / 0.8095 GB, free: 15.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.554e-06/0.1172, allocations: 0 / 0.8095 GB, free: 15.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003534/0.1176, allocations: 355.5 kB / 0.8098 GB, free: 15.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1176, allocations: 8.031 kB / 0.8098 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.1176, allocations: 0 / 0.8098 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.1177, allocations: 175 kB / 0.81 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1178, allocations: 0 / 0.81 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-06/0.1178, allocations: 0 / 0.81 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.118, allocations: 61.61 kB / 0.8101 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.118, allocations: 11.92 kB / 0.8101 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-06/0.118, allocations: 3.953 kB / 0.8101 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-06/0.118, allocations: 0 / 0.8101 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.1182, allocations: 47.95 kB / 0.8101 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.1185, allocations: 253 kB / 0.8104 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1187, allocations: 50.48 kB / 0.8104 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1188, allocations: 28.91 kB / 0.8104 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.1188, allocations: 7.953 kB / 0.8104 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.1189, allocations: 34.56 kB / 0.8105 GB, free: 14.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.005e-06/0.1189, allocations: 0 / 0.8105 GB, free: 14.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004044/0.1193, allocations: 101.6 kB / 0.8106 GB, free: 14.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.1193, allocations: 55.39 kB / 0.8106 GB, free: 14.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.1194, allocations: 105.9 kB / 0.8107 GB, free: 14.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.1194, allocations: 29.64 kB / 0.8108 GB, free: 14.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.1195, allocations: 88.12 kB / 0.8108 GB, free: 14.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1195, allocations: 11.84 kB / 0.8108 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-06/0.1195, allocations: 0 / 0.8108 GB, free: 14.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.1196, allocations: 318.9 kB / 0.8112 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.1197, allocations: 23.98 kB / 0.8112 GB, free: 13.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/0.1198, allocations: 23.97 kB / 0.8112 GB, free: 13.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.1199, allocations: 28.05 kB / 0.8112 GB, free: 13.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-06/0.1199, allocations: 0 / 0.8112 GB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002351/0.1201, allocations: 81.56 kB / 0.8113 GB, free: 13.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1202, allocations: 9.547 kB / 0.8113 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.834e-06/0.1202, allocations: 4 kB / 0.8113 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1202, allocations: 4 kB / 0.8113 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.1203, allocations: 11.98 kB / 0.8113 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.455e-06/0.1203, allocations: 0 / 0.8113 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.1204, allocations: 4 kB / 0.8113 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-06/0.1204, allocations: 0 / 0.8113 GB, free: 13.71 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 (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.247e-05/0.1205, allocations: 125.8 kB / 0.8115 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.1205, allocations: 3.938 kB / 0.8115 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.1209, allocations: 89.14 kB / 0.8115 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.792e-06/0.1209, allocations: 0 / 0.8115 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-06/0.1209, allocations: 0 / 0.8115 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-06/0.1209, allocations: 4.031 kB / 0.8115 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.1211, allocations: 165.6 kB / 0.8117 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-06/0.1211, allocations: 0 / 0.8117 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.1212, allocations: 11.98 kB / 0.8117 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.964e-06/0.1212, allocations: 4 kB / 0.8117 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.757e-06/0.1212, allocations: 0 / 0.8117 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.219e-06/0.1212, allocations: 3.953 kB / 0.8117 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.246e-06/0.1212, allocations: 0 / 0.8117 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.1215, allocations: 179.5 kB / 0.8119 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.1216, allocations: 81.02 kB / 0.812 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1216, allocations: 0 / 0.812 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1217, allocations: 16.02 kB / 0.812 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1218, allocations: 3.953 kB / 0.812 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-06/0.1218, allocations: 256 / 0.812 GB, free: 12.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.1218, allocations: 95.27 kB / 0.8121 GB, free: 12.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.58e-07/0.1219, allocations: 0 / 0.8121 GB, free: 12.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003198/0.1222, allocations: 8 kB / 0.8121 GB, free: 12.84 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 (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.0001225/0.1223, allocations: 95.25 kB / 0.8122 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1226, allocations: 55.95 kB / 0.8122 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.292e-06/0.1226, allocations: 0 / 0.8122 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1227, allocations: 31.86 kB / 0.8123 GB, free: 12.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1231, allocations: 9.547 kB / 0.8123 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.1233, allocations: 112.7 kB / 0.8124 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1235, allocations: 0.6848 MB / 0.8131 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.1235, allocations: 0 / 0.8131 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.1236, allocations: 11.44 kB / 0.8131 GB, free: 11.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.53e-06/0.1236, allocations: 3.938 kB / 0.8131 GB, free: 11.78 MB / 378.7 MB Notification: Performance of Templates: time 0.002672/0.1263, allocations: 461.7 kB / 0.8135 GB, free: 11.33 MB / 378.7 MB