Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002513/0.002512, allocations: 356.8 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.327/1.327, allocations: 165.8 MB / 182.5 MB, free: 5.926 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.343/4.343, allocations: 410.7 MB / 0.5995 GB, free: 2.203 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.001785/0.001784, allocations: 184.8 kB / 0.6662 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004867, allocations: 16.05 kB / 0.7423 GB, free: 15.99 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.382, allocations: 67.44 MB / 0.8082 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001513/0.3835, allocations: 1.124 MB / 0.8093 GB, free: 244.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004644/0.3882, allocations: 2.69 MB / 0.8119 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.3883, allocations: 1.844 kB / 0.8119 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.3883, allocations: 5.953 kB / 0.8119 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.3884, allocations: 13.34 kB / 0.8119 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.393, allocations: 1.29 MB / 0.8132 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.166e-05/0.3931, allocations: 38.22 kB / 0.8132 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.3931, allocations: 5.016 kB / 0.8132 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.3932, allocations: 12.03 kB / 0.8133 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.861e-05/0.3932, allocations: 15.94 kB / 0.8133 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3932, allocations: 2.469 kB / 0.8133 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.396, allocations: 1.228 MB / 0.8145 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.396, allocations: 3.922 kB / 0.8145 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.3961, allocations: 32.95 kB / 0.8145 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3974, allocations: 0.7025 MB / 0.8152 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.772e-06/0.3974, allocations: 2.281 kB / 0.8152 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.766e-06/0.3974, allocations: 0 / 0.8152 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.3975, allocations: 2.188 kB / 0.8152 GB, free: 242.3 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005155/0.398, allocations: 0.5043 MB / 0.8157 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.398, allocations: 9.188 kB / 0.8157 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.3981, allocations: 81.2 kB / 0.8158 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3982, allocations: 246.2 kB / 0.816 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3982, allocations: 154.5 kB / 0.8162 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.3983, allocations: 153.6 kB / 0.8163 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.263e-05/0.3983, allocations: 111.5 kB / 0.8164 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3984, allocations: 76.03 kB / 0.8165 GB, free: 241 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.3984, allocations: 157.1 kB / 0.8166 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.3984, allocations: 153 kB / 0.8168 GB, free: 240.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.3985, allocations: 154.6 kB / 0.8169 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.3987, allocations: 467.3 kB / 0.8174 GB, free: 240.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.782e-05/0.3988, allocations: 176.9 kB / 0.8175 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.3988, allocations: 84.09 kB / 0.8176 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3988, allocations: 75.94 kB / 0.8177 GB, free: 239.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3989, allocations: 109.2 kB / 0.8178 GB, free: 239.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.718e-06/0.3989, allocations: 0 / 0.8178 GB, free: 239.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.252e-05/0.3989, allocations: 28.67 kB / 0.8178 GB, free: 239.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.399, allocations: 132.9 kB / 0.818 GB, free: 239.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3991, allocations: 135.8 kB / 0.8181 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.924e-06/0.3991, allocations: 25.7 kB / 0.8181 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.3992, allocations: 87.81 kB / 0.8182 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-06/0.3992, allocations: 2.062 kB / 0.8182 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.3992, allocations: 0 / 0.8182 GB, free: 239.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.3993, allocations: 319.9 kB / 0.8185 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.3993, allocations: 2.812 kB / 0.8185 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.3993, allocations: 9.75 kB / 0.8185 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.3994, allocations: 4.734 kB / 0.8185 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.462e-06/0.3994, allocations: 1.312 kB / 0.8185 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/0.3995, allocations: 48.17 kB / 0.8186 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3996, allocations: 6.312 kB / 0.8186 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.3996, allocations: 6.188 kB / 0.8186 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3996, allocations: 3.469 kB / 0.8186 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.291e-06/0.3996, allocations: 0.75 kB / 0.8186 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3996, allocations: 0 / 0.8186 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.3997, allocations: 5.188 kB / 0.8186 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.961e-06/0.3997, allocations: 5.844 kB / 0.8186 GB, free: 238.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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.42e-05/0.3998, allocations: 185.7 kB / 0.8188 GB, free: 238.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.3998, allocations: 110 kB / 0.8189 GB, free: 238.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.3999, allocations: 117 kB / 0.819 GB, free: 238.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.3999, allocations: 182.3 kB / 0.8192 GB, free: 238.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/0.4, allocations: 177.9 kB / 0.8193 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/0.4, allocations: 182.5 kB / 0.8195 GB, free: 237.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.4002, allocations: 417.8 kB / 0.8199 GB, free: 237.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.4002, allocations: 103.8 kB / 0.82 GB, free: 237.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.855e-05/0.4002, allocations: 107 kB / 0.8201 GB, free: 237.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/0.4003, allocations: 178.5 kB / 0.8203 GB, free: 237 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.4003, allocations: 188.3 kB / 0.8204 GB, free: 236.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.971e-05/0.4004, allocations: 183.9 kB / 0.8206 GB, free: 236.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-05/0.4004, allocations: 177.6 kB / 0.8208 GB, free: 236.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.718e-05/0.4005, allocations: 314 kB / 0.8211 GB, free: 236.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.4005, allocations: 188.9 kB / 0.8213 GB, free: 236 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.4006, allocations: 179.5 kB / 0.8214 GB, free: 235.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.4007, allocations: 110.7 kB / 0.8215 GB, free: 235.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.4007, allocations: 183.3 kB / 0.8217 GB, free: 235.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.4008, allocations: 103.5 kB / 0.8218 GB, free: 235.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.517e-05/0.4008, allocations: 98.53 kB / 0.8219 GB, free: 235.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.97e-07/0.4008, allocations: 0.5625 kB / 0.8219 GB, free: 235.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001137/0.402, allocations: 279.1 kB / 0.8222 GB, free: 235.2 MB / 0.5886 GB 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 (0): * Single equations (assignments): 0 * 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.001248/0.4032, allocations: 0.5131 MB / 0.8227 GB, free: 235 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.4034, allocations: 42.58 kB / 0.8227 GB, free: 234.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.77e-06/0.4034, allocations: 1.625 kB / 0.8227 GB, free: 234.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-06/0.4034, allocations: 2.141 kB / 0.8227 GB, free: 234.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.4038, allocations: 0.5315 MB / 0.8232 GB, free: 234.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.4041, allocations: 249.8 kB / 0.8235 GB, free: 234.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.4042, allocations: 0.6865 MB / 0.8242 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.441e-05/0.4043, allocations: 1.062 kB / 0.8242 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-06/0.4043, allocations: 10.05 kB / 0.8242 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.405e-06/0.4043, allocations: 2.438 kB / 0.8242 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.01293/0.4172, allocations: 5.519 MB / 0.8296 GB, free: 231.6 MB / 0.5886 GB