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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.007569/0.007569, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001716/0.001716, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.172/2.172, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.9505 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8841/0.8856, allocations: 140.4 MB / 1.088 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002379/0.8881, allocations: 1.447 MB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003947/0.892, allocations: 2.881 MB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.8921, allocations: 0 / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.8921, allocations: 10.06 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.8922, allocations: 15.64 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.8964, allocations: 1.589 MB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.8965, allocations: 45.55 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.8966, allocations: 3.359 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.8966, allocations: 16.67 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.8966, allocations: 14.38 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.8967, allocations: 1.688 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.8994, allocations: 1.532 MB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.8995, allocations: 11.31 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.8995, allocations: 16.05 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.9013, allocations: 1.11 MB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9014, allocations: 0 / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9014, allocations: 1.031 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.9014, allocations: 0 / 1.096 GB, free: 0.4922 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.0005248/0.9019, allocations: 0.5067 MB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.902, allocations: 13.81 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/0.902, allocations: 107.1 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.9021, allocations: 83.2 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.9022, allocations: 248.8 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.9023, allocations: 152 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.9023, allocations: 154.9 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.767e-05/0.9024, allocations: 114.7 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.9024, allocations: 75.28 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.9025, allocations: 152 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.9025, allocations: 150.6 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.9026, allocations: 151.4 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.9029, allocations: 470.6 kB / 1.098 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.798e-05/0.903, allocations: 169.8 kB / 1.098 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.903, allocations: 81.62 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.903, allocations: 83.16 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.9031, allocations: 115.2 kB / 1.099 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9031, allocations: 0.9375 kB / 1.099 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.128e-05/0.9031, allocations: 32.61 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.9032, allocations: 131.8 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.9034, allocations: 138.5 kB / 1.099 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.9034, allocations: 25.7 kB / 1.099 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.9034, allocations: 96.67 kB / 1.099 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.9034, allocations: 0 / 1.099 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.9035, allocations: 24.64 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.9036, allocations: 314.7 kB / 1.099 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.9036, allocations: 11.97 kB / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.9036, allocations: 3.25 kB / 1.099 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.9037, allocations: 15.69 kB / 1.099 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9037, allocations: 0.8438 kB / 1.099 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001312/0.9038, allocations: 50.45 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9038, allocations: 8.438 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.9039, allocations: 3.938 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9039, allocations: 5.188 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.9039, allocations: 0.7031 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.9039, allocations: 0 / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.9039, allocations: 8.906 kB / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.9039, allocations: 1.281 kB / 1.1 GB, free: 12.83 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 8.594e-05/0.904, allocations: 184.5 kB / 1.1 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.9041, allocations: 112.5 kB / 1.1 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.9042, allocations: 116.8 kB / 1.1 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-05/0.9042, allocations: 186 kB / 1.1 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/0.9043, allocations: 176.9 kB / 1.1 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.9043, allocations: 185.9 kB / 1.1 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.9045, allocations: 418.2 kB / 1.101 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.9046, allocations: 106.6 kB / 1.101 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.9046, allocations: 106.6 kB / 1.101 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-05/0.9047, allocations: 177.8 kB / 1.101 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.9047, allocations: 181.9 kB / 1.101 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.444e-05/0.9048, allocations: 181.4 kB / 1.102 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.162e-05/0.9049, allocations: 181.9 kB / 1.102 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.905, allocations: 315 kB / 1.102 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.9051, allocations: 192.9 kB / 1.102 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.9051, allocations: 178.9 kB / 1.102 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.9052, allocations: 106.5 kB / 1.103 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.9053, allocations: 178.5 kB / 1.103 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.9053, allocations: 110.1 kB / 1.103 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.9054, allocations: 105.9 kB / 1.103 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9054, allocations: 0 / 1.103 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009134/0.9063, allocations: 278.8 kB / 1.103 GB, free: 9.184 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.001371/0.9077, allocations: 1.18 MB / 1.104 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.835e-05/0.9078, allocations: 40.72 kB / 1.104 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9078, allocations: 0 / 1.104 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.9078, allocations: 3.938 kB / 1.104 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.9082, allocations: 462.2 kB / 1.105 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.9095, allocations: 1.59 MB / 1.106 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.9098, allocations: 0.6874 MB / 1.107 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.506e-05/0.9098, allocations: 0.7031 kB / 1.107 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.9098, allocations: 22.36 kB / 1.107 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of SimCode: time 1.423e-06/0.9098, allocations: 0 / 1.107 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.9408, allocations: 7.074 MB / 1.114 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.96, allocations: 13.72 kB / 1.114 GB, free: 4.891 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)