Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008248, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008876/0.0008879, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.888/1.888, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005048, allocations: 12.97 kB / 0.6739 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 116.3 MB / 0.7875 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001694/0.2463, allocations: 1.146 MB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00447/0.2508, allocations: 2.752 MB / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.2509, allocations: 0 / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.2509, allocations: 3.938 kB / 0.7913 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.251, allocations: 15.91 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.2553, allocations: 1.315 MB / 0.7926 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.2554, allocations: 43.67 kB / 0.7926 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.23e-05/0.2554, allocations: 7.938 kB / 0.7926 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.704e-05/0.2555, allocations: 15.92 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.2556, allocations: 15.92 kB / 0.7927 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2556, allocations: 4 kB / 0.7927 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.2584, allocations: 1.264 MB / 0.7939 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.2584, allocations: 11.97 kB / 0.7939 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.2585, allocations: 29.64 kB / 0.7939 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.26, allocations: 0.7175 MB / 0.7946 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.26, allocations: 0 / 0.7946 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.26, allocations: 0 / 0.7946 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.26, allocations: 0 / 0.7946 GB, free: 4.438 MB / 0.6075 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.0008755/0.2609, allocations: 0.5145 MB / 0.7951 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2609, allocations: 16.02 kB / 0.7951 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.261, allocations: 109.8 kB / 0.7953 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.2611, allocations: 87.14 kB / 0.7953 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2613, allocations: 252.8 kB / 0.7956 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.2613, allocations: 150.6 kB / 0.7957 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.2614, allocations: 150.6 kB / 0.7959 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.2615, allocations: 109 kB / 0.796 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/0.2616, allocations: 75.28 kB / 0.796 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.2617, allocations: 154.6 kB / 0.7962 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/0.2617, allocations: 150.6 kB / 0.7963 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.2618, allocations: 154.5 kB / 0.7965 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2622, allocations: 469.9 kB / 0.7969 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.2623, allocations: 169.1 kB / 0.7971 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.2624, allocations: 80.14 kB / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2624, allocations: 75.28 kB / 0.7972 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/0.2625, allocations: 109.8 kB / 0.7973 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.2625, allocations: 4 kB / 0.7973 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.066e-05/0.2626, allocations: 33.64 kB / 0.7974 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.2627, allocations: 126.7 kB / 0.7975 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2628, allocations: 137.9 kB / 0.7976 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2629, allocations: 25.7 kB / 0.7977 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.2629, allocations: 92.12 kB / 0.7977 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.2629, allocations: 0 / 0.7977 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.263, allocations: 0 / 0.7977 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2631, allocations: 326.8 kB / 0.7981 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.2632, allocations: 4 kB / 0.7981 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.2632, allocations: 11.98 kB / 0.7981 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.2632, allocations: 4 kB / 0.7981 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2632, allocations: 0 / 0.7981 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001476/0.2634, allocations: 49.55 kB / 0.7981 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2634, allocations: 8 kB / 0.7981 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.2635, allocations: 7.938 kB / 0.7981 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2635, allocations: 0 / 0.7981 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.2635, allocations: 0 / 0.7981 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2635, allocations: 4.125 kB / 0.7981 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.2635, allocations: 4 kB / 0.7981 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2635, allocations: 0 / 0.7981 GB, free: 0.6016 MB / 0.6075 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 0.0001316/0.2637, allocations: 197.1 kB / 0.7983 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.2638, allocations: 108.9 kB / 0.7984 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.2638, allocations: 112.6 kB / 0.7985 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.884e-05/0.2639, allocations: 176.3 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.548e-05/0.264, allocations: 188.3 kB / 0.7989 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-05/0.2641, allocations: 188.2 kB / 0.7991 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.2644, allocations: 417.1 kB / 0.7995 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.429e-05/0.2645, allocations: 104.9 kB / 0.7996 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.2645, allocations: 101 kB / 0.7997 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.2646, allocations: 188.2 kB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.2647, allocations: 184.3 kB / 0.8 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.2648, allocations: 176.5 kB / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.451e-05/0.2649, allocations: 180.2 kB / 0.8004 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.2651, allocations: 323.6 kB / 0.8007 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.2652, allocations: 182.1 kB / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.2652, allocations: 176.3 kB / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.2653, allocations: 104.9 kB / 0.8011 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.2654, allocations: 184.2 kB / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.2655, allocations: 104.9 kB / 0.8014 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.349e-05/0.2655, allocations: 106.4 kB / 0.8015 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2655, allocations: 0 / 0.8015 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009208/0.2665, allocations: 283.8 kB / 0.8018 GB, free: 12.67 MB / 0.6231 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.001704/0.2682, allocations: 1.17 MB / 0.8029 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.872e-05/0.2683, allocations: 37.7 kB / 0.8029 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2683, allocations: 3.938 kB / 0.8029 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.2683, allocations: 4 kB / 0.8029 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.2688, allocations: 0.5263 MB / 0.8035 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2699, allocations: 0.6917 MB / 0.8041 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.2702, allocations: 0.6848 MB / 0.8048 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.2702, allocations: 0 / 0.8048 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.2703, allocations: 15.5 kB / 0.8048 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2703, allocations: 0 / 0.8048 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2924, allocations: 6.982 MB / 0.8116 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.2926, allocations: 323.3 kB / 0.8119 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.409, allocations: 3.938 kB / 0.8119 GB, free: 2.336 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: