Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_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_9_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.006441/0.006441, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001468/0.001468, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 0.6648 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.47 kB / 0.9505 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2972, allocations: 140.4 MB / 1.088 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002795/0.3, allocations: 1.44 MB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004439/0.3045, allocations: 2.893 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.3046, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.3046, allocations: 3.938 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.3047, allocations: 19.84 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.3091, allocations: 1.573 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.3092, allocations: 39.73 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.3092, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.3093, allocations: 19.92 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.3093, allocations: 15.88 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3093, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.3118, allocations: 1.533 MB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.3119, allocations: 11.92 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.3119, allocations: 15.88 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.314, allocations: 1.104 MB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.314, allocations: 0 / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.314, allocations: 3.938 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.314, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 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.0008149/0.3149, allocations: 0.5146 MB / 1.097 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.3149, allocations: 8.031 kB / 1.097 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.315, allocations: 106 kB / 1.097 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.3151, allocations: 84.12 kB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3152, allocations: 261.8 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.3153, allocations: 158.9 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.3154, allocations: 150.9 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.23e-05/0.3154, allocations: 104.9 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.3155, allocations: 75.28 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.3155, allocations: 154.6 kB / 1.098 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.3156, allocations: 158.5 kB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.3157, allocations: 150.6 kB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.316, allocations: 465.8 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.3161, allocations: 165.1 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.3161, allocations: 88.14 kB / 1.099 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3161, allocations: 83.16 kB / 1.099 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.3162, allocations: 113.8 kB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3162, allocations: 0 / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.691e-05/0.3163, allocations: 25.7 kB / 1.099 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.3164, allocations: 126.7 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3166, allocations: 141.7 kB / 1.099 GB, free: 6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3166, allocations: 25.7 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.3167, allocations: 92.12 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-06/0.3167, allocations: 0 / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.3167, allocations: 21.7 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3169, allocations: 314.9 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.3169, allocations: 11.94 kB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.3169, allocations: 11.92 kB / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.317, allocations: 20.83 kB / 1.1 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.317, allocations: 4 kB / 1.1 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001337/0.3171, allocations: 45.64 kB / 1.1 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3171, allocations: 8 kB / 1.1 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.3172, allocations: 0 / 1.1 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3172, allocations: 0 / 1.1 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-06/0.3172, allocations: 7.984 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3172, allocations: 0 / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.3172, allocations: 3.906 kB / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3172, allocations: 0 / 1.1 GB, free: 5.41 MB / 0.8575 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 0.0001031/0.3173, allocations: 193.2 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.3174, allocations: 112.8 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.819e-05/0.3175, allocations: 108.9 kB / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.063e-05/0.3176, allocations: 184.2 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.889e-05/0.3176, allocations: 176.3 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.168e-05/0.3177, allocations: 184.3 kB / 1.1 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3179, allocations: 421.2 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.318, allocations: 105 kB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.318, allocations: 108.9 kB / 1.101 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.646e-05/0.3181, allocations: 176.3 kB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.3182, allocations: 180.3 kB / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.249e-05/0.3182, allocations: 188.2 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.029e-05/0.3183, allocations: 176.3 kB / 1.102 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3185, allocations: 311.7 kB / 1.102 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.3185, allocations: 186 kB / 1.102 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.3186, allocations: 188.2 kB / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.3187, allocations: 105 kB / 1.103 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.3188, allocations: 180.2 kB / 1.103 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.3188, allocations: 105 kB / 1.103 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.486e-05/0.3189, allocations: 101.1 kB / 1.103 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3189, allocations: 0 / 1.103 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008589/0.3198, allocations: 283.8 kB / 1.103 GB, free: 1.492 MB / 0.8575 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.001613/0.3214, allocations: 1.181 MB / 1.104 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3215, allocations: 41.7 kB / 1.104 GB, free: 248 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3215, allocations: 0 / 1.104 GB, free: 248 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.3215, allocations: 368 / 1.104 GB, free: 248 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.322, allocations: 468.3 kB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3236, allocations: 1.604 MB / 1.106 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3238, allocations: 0.6807 MB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.3239, allocations: 0 / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.3239, allocations: 19.42 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.3239, allocations: 0 / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.3515, allocations: 7.086 MB / 1.114 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.314, allocations: 2.625 kB / 1.114 GB, free: 6.5 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)