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.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 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_9_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_9_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.008682/0.008682, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001888/0.001888, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.182/2.182, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 0.9505 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8577, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002787/0.8605, allocations: 1.423 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005001/0.8655, allocations: 2.842 MB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.8656, allocations: 0.875 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.8657, allocations: 5.391 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.8658, allocations: 15.47 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.8704, allocations: 1.57 MB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.8705, allocations: 43.55 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.8706, allocations: 7.375 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.8706, allocations: 13.06 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.18e-05/0.8707, allocations: 20.48 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.8707, allocations: 1.688 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.8736, allocations: 1.489 MB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.8736, allocations: 9.75 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.8736, allocations: 12.75 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.8755, allocations: 1.073 MB / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8756, allocations: 0 / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8756, allocations: 0.7812 kB / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8756, allocations: 0 / 1.096 GB, free: 0.6875 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.0005954/0.8762, allocations: 0.517 MB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.8762, allocations: 9.719 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.8763, allocations: 110.5 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.8763, allocations: 83.06 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.8765, allocations: 253.7 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.8766, allocations: 151.5 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.8766, allocations: 156 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.8767, allocations: 110.6 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.8767, allocations: 75.28 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.8768, allocations: 150.6 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.8769, allocations: 152.5 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.165e-05/0.8769, allocations: 154.5 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.8772, allocations: 465.7 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.8773, allocations: 166.1 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.8773, allocations: 80.7 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.8774, allocations: 79.88 kB / 1.098 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.8774, allocations: 115.3 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.8774, allocations: 0 / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.57e-05/0.8775, allocations: 41.28 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.8776, allocations: 127.7 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.8777, allocations: 128.7 kB / 1.099 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.8777, allocations: 26.41 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.8778, allocations: 96.22 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.8778, allocations: 0 / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.8778, allocations: 19.75 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.878, allocations: 318.6 kB / 1.099 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.878, allocations: 3.938 kB / 1.099 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.878, allocations: 3.938 kB / 1.099 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.975e-05/0.878, allocations: 17.83 kB / 1.099 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8781, allocations: 0.9375 kB / 1.099 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.8782, allocations: 48.56 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8782, allocations: 9.25 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.8782, allocations: 8 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.8783, allocations: 0.6094 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.8783, allocations: 3.938 kB / 1.099 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8783, allocations: 1.094 kB / 1.099 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.8783, allocations: 9.172 kB / 1.099 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.8783, allocations: 1.844 kB / 1.099 GB, free: 13.02 MB / 0.8731 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.237e-05/0.8784, allocations: 182.8 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.8785, allocations: 116.9 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.8785, allocations: 116 kB / 1.1 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/0.8786, allocations: 182.9 kB / 1.1 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.819e-05/0.8787, allocations: 182 kB / 1.1 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.904e-05/0.8787, allocations: 176.9 kB / 1.1 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.879, allocations: 416.5 kB / 1.101 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.879, allocations: 110.9 kB / 1.101 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.879, allocations: 102.9 kB / 1.101 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.666e-05/0.8791, allocations: 181.8 kB / 1.101 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.8792, allocations: 178.7 kB / 1.101 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/0.8792, allocations: 181.8 kB / 1.101 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-05/0.8793, allocations: 177.7 kB / 1.102 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.8794, allocations: 319.1 kB / 1.102 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.8795, allocations: 184.9 kB / 1.102 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.8796, allocations: 182.8 kB / 1.102 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.8796, allocations: 101.6 kB / 1.102 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.8797, allocations: 191 kB / 1.103 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.8798, allocations: 102 kB / 1.103 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.8798, allocations: 100.3 kB / 1.103 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8798, allocations: 0 / 1.103 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001/0.8808, allocations: 278.4 kB / 1.103 GB, free: 9.387 MB / 0.8731 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.001414/0.8823, allocations: 1.157 MB / 1.104 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8824, allocations: 39.3 kB / 1.104 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8824, allocations: 0 / 1.104 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.8824, allocations: 1.25 kB / 1.104 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.8828, allocations: 465.2 kB / 1.105 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.8842, allocations: 1.571 MB / 1.106 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.8845, allocations: 0.686 MB / 1.107 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.8845, allocations: 0.5 kB / 1.107 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.8845, allocations: 14.95 kB / 1.107 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8845, allocations: 4.031 kB / 1.107 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.9147, allocations: 6.883 MB / 1.114 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.822, allocations: 7.75 kB / 1.114 GB, free: 5.113 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)