Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001446/0.001446, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 198.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.55/2.55, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 71.33 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2411, allocations: 159.1 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002304/0.2434, allocations: 1.43 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003825/0.2472, allocations: 2.861 MB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.2473, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.2473, allocations: 3.938 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.2473, allocations: 15.86 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.2504, allocations: 1.559 MB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.2505, allocations: 43.73 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.2506, allocations: 7.984 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.2506, allocations: 11.94 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.2506, allocations: 19.86 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.2506, allocations: 8 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.2524, allocations: 1.423 MB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.2525, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.2525, allocations: 23.86 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.2538, allocations: 1.076 MB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2538, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2538, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2538, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 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.0005251/0.2543, allocations: 0.5107 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2544, allocations: 15.97 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.2544, allocations: 106 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.2545, allocations: 88.11 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2546, allocations: 251.5 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.2547, allocations: 150.9 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.2548, allocations: 154.9 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.1e-05/0.2548, allocations: 108.9 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.2549, allocations: 75.28 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.2549, allocations: 150.6 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-05/0.255, allocations: 154.6 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.532e-05/0.2551, allocations: 158.4 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.2554, allocations: 465.9 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.2554, allocations: 169.1 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.2555, allocations: 80.14 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2555, allocations: 79.27 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.2556, allocations: 117.8 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.2556, allocations: 0 / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.194e-05/0.2557, allocations: 41.55 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.2557, allocations: 126.7 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2558, allocations: 127.2 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2559, allocations: 25.7 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.2559, allocations: 96.05 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.2559, allocations: 0 / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.256, allocations: 21.7 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2561, allocations: 318.8 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.2561, allocations: 0 / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.2561, allocations: 4 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.2562, allocations: 20.84 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.2562, allocations: 0 / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001048/0.2563, allocations: 49.58 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.2563, allocations: 6.031 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.2563, allocations: 4 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2563, allocations: 64 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-06/0.2563, allocations: 7.984 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2564, allocations: 0 / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.2564, allocations: 11.84 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2564, allocations: 0 / 1.076 GB, free: 1.773 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.2565, allocations: 182.2 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.2566, allocations: 112.9 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.2566, allocations: 108.9 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/0.2567, allocations: 188.2 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-05/0.2568, allocations: 180.2 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.348e-05/0.2568, allocations: 180.2 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2571, allocations: 417.1 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-05/0.2571, allocations: 105 kB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.2572, allocations: 109 kB / 1.077 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.2572, allocations: 188.1 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/0.2573, allocations: 180.3 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.792e-05/0.2574, allocations: 180.2 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-05/0.2575, allocations: 176.3 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.2576, allocations: 331.6 kB / 1.078 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.2577, allocations: 182 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.2578, allocations: 180.2 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.2579, allocations: 109 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.258, allocations: 180.3 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.258, allocations: 108.9 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.2581, allocations: 95.27 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2581, allocations: 0 / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000566/0.2586, allocations: 279.8 kB / 1.08 GB, free: 13.86 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.2598, allocations: 1.156 MB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.675e-05/0.2599, allocations: 45.62 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2599, allocations: 0 / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.2599, allocations: 0 / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.2603, allocations: 464.5 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.2616, allocations: 1.579 MB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.2618, allocations: 0.6807 MB / 1.083 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.678e-06/0.2618, allocations: 0 / 1.083 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.2619, allocations: 23.45 kB / 1.083 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2619, allocations: 0 / 1.083 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.477/2.739, allocations: 6.87 MB / 1.09 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/15.77, allocations: 13.25 kB / 1.09 GB, free: 3.098 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)