Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002563/0.002563, allocations: 358.2 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.294/1.294, allocations: 165.8 MB / 183.1 MB, free: 5.922 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.486/4.486, allocations: 410.8 MB / 0.6001 GB, free: 2.133 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.001928/0.001928, allocations: 191 kB / 0.6668 GB, free: 14 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006237/0.0006239, allocations: 12 kB / 0.7429 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4808, allocations: 67.44 MB / 0.8088 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004237/0.4851, allocations: 2.57 MB / 0.8113 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.489, allocations: 1.992 MB / 0.8132 GB, free: 243 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.4893, allocations: 5.5 kB / 0.8132 GB, free: 243 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.4912, allocations: 424 kB / 0.8136 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.4918, allocations: 134 kB / 0.8138 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.492, allocations: 33.02 kB / 0.8138 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.4926, allocations: 422.2 kB / 0.8142 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.4929, allocations: 116.7 kB / 0.8143 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.4931, allocations: 135.4 kB / 0.8144 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.4934, allocations: 159.5 kB / 0.8146 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.4935, allocations: 18.31 kB / 0.8146 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.4936, allocations: 19.16 kB / 0.8146 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4937, allocations: 83.42 kB / 0.8147 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.4938, allocations: 107.7 kB / 0.8148 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006789/0.4945, allocations: 447.7 kB / 0.8152 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4945, allocations: 0.75 kB / 0.8152 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4946, allocations: 0 / 0.8152 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.4946, allocations: 0.5312 kB / 0.8152 GB, free: 242.1 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001285/0.4959, allocations: 0.6442 MB / 0.8159 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4959, allocations: 7.844 kB / 0.8159 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.4961, allocations: 47.17 kB / 0.8159 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.4967, allocations: 359.2 kB / 0.8163 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.4967, allocations: 17.64 kB / 0.8163 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.4968, allocations: 26.41 kB / 0.8163 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.4974, allocations: 209 kB / 0.8165 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4975, allocations: 1.188 kB / 0.8165 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.4975, allocations: 8.672 kB / 0.8165 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4975, allocations: 4.75 kB / 0.8165 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.4982, allocations: 176 kB / 0.8167 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.5, allocations: 0.8659 MB / 0.8175 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.5005, allocations: 167.1 kB / 0.8177 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.5008, allocations: 118.3 kB / 0.8178 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.5009, allocations: 2.344 kB / 0.8178 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.5009, allocations: 33.27 kB / 0.8178 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.956e-06/0.5009, allocations: 2.016 kB / 0.8178 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.000978/0.5019, allocations: 272.5 kB / 0.8181 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.5019, allocations: 57.66 kB / 0.8182 GB, free: 240.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.5027, allocations: 415.7 kB / 0.8185 GB, free: 240 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.5028, allocations: 29.2 kB / 0.8186 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.5029, allocations: 210.5 kB / 0.8188 GB, free: 239.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.503, allocations: 60.44 kB / 0.8188 GB, free: 239.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5031, allocations: 1.281 kB / 0.8188 GB, free: 239.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5032, allocations: 349 kB / 0.8192 GB, free: 239.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.5034, allocations: 61.64 kB / 0.8192 GB, free: 239.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.5037, allocations: 61.44 kB / 0.8193 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.504, allocations: 65.42 kB / 0.8193 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.504, allocations: 1.656 kB / 0.8194 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000684/0.5047, allocations: 225.3 kB / 0.8196 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5047, allocations: 11.16 kB / 0.8196 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5048, allocations: 0 / 0.8196 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5048, allocations: 1.281 kB / 0.8196 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.5053, allocations: 53.11 kB / 0.8196 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.5053, allocations: 7.438 kB / 0.8196 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.5056, allocations: 28.44 kB / 0.8197 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.5057, allocations: 3.875 kB / 0.8197 GB, free: 239.2 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 (20): * Single equations (assignments): 20 * 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 0.0002531/0.5059, allocations: 165.4 kB / 0.8198 GB, free: 239 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.506, allocations: 32.73 kB / 0.8199 GB, free: 239 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.5061, allocations: 48.02 kB / 0.8199 GB, free: 239 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.5061, allocations: 1.219 kB / 0.8199 GB, free: 239 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5062, allocations: 0 / 0.8199 GB, free: 239 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.5063, allocations: 123 kB / 0.82 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.5064, allocations: 4.641 kB / 0.82 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.5067, allocations: 19.55 kB / 0.82 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.5068, allocations: 9.469 kB / 0.8201 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001095/0.5079, allocations: 315.2 kB / 0.8204 GB, free: 238.7 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001037/0.5089, allocations: 478.8 kB / 0.8208 GB, free: 238.4 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000283/0.5093, allocations: 78.2 kB / 0.8209 GB, free: 238.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005625/0.5098, allocations: 301.7 kB / 0.8212 GB, free: 238.2 MB / 0.5886 GB Notification: Performance of Backend: time 6.51e-07/0.5098, allocations: 2.188 kB / 0.8212 GB, free: 238.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008806/0.5107, allocations: 171.7 kB / 0.8213 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of SimCode: time 0.002331/0.5131, allocations: 1.377 MB / 0.8227 GB, free: 237.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.01393/0.5271, allocations: 3.837 MB / 0.8264 GB, free: 236 MB / 0.5886 GB