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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 387.1 MB / 399.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 172.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.000997, allocations: 85.34 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.981e-05/4.991e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2931, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.417, allocations: 170.2 MB / 1.379 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/1.418, allocations: 114.2 kB / 1.379 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04501/1.463, allocations: 15.39 MB / 1.394 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/1.463, allocations: 0 / 1.394 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.463, allocations: 3.969 kB / 1.394 GB, free: 27.25 MB / 0.8386 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.001277/1.464, allocations: 0.5546 MB / 1.394 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.464, allocations: 11.53 kB / 1.394 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/1.464, allocations: 109.8 kB / 1.395 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/1.464, allocations: 83.23 kB / 1.395 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.464, allocations: 257.4 kB / 1.395 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/1.464, allocations: 150.6 kB / 1.395 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/1.464, allocations: 154.5 kB / 1.395 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/1.465, allocations: 101 kB / 1.395 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/1.465, allocations: 75.28 kB / 1.395 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/1.465, allocations: 158.4 kB / 1.395 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/1.465, allocations: 150.6 kB / 1.396 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/1.465, allocations: 162.4 kB / 1.396 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/1.465, allocations: 461 kB / 1.396 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.913e-05/1.465, allocations: 172.4 kB / 1.396 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/1.465, allocations: 80.14 kB / 1.396 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/1.465, allocations: 75.28 kB / 1.396 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/1.465, allocations: 113.6 kB / 1.397 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/1.465, allocations: 0 / 1.397 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.734e-05/1.465, allocations: 29.61 kB / 1.397 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.465, allocations: 130.7 kB / 1.397 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/1.466, allocations: 130.2 kB / 1.397 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/1.466, allocations: 25.7 kB / 1.397 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/1.466, allocations: 84.08 kB / 1.397 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/1.466, allocations: 0 / 1.397 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/1.466, allocations: 3.875 kB / 1.397 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.466, allocations: 322.7 kB / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/1.466, allocations: 7.219 kB / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.539e-05/1.466, allocations: 7.844 kB / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/1.466, allocations: 7.781 kB / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.466, allocations: 0 / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001238/1.466, allocations: 51.8 kB / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.466, allocations: 3.875 kB / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.466, allocations: 3.844 kB / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.466, allocations: 0 / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/1.466, allocations: 8.047 kB / 1.397 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.466, allocations: 0 / 1.397 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/1.466, allocations: 7.75 kB / 1.397 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/1.466, allocations: 4.062 kB / 1.397 GB, free: 23.61 MB / 0.8386 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 () * 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 8.268e-05/1.466, allocations: 184.8 kB / 1.398 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/1.466, allocations: 112.7 kB / 1.398 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/1.466, allocations: 107.8 kB / 1.398 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/1.466, allocations: 188.2 kB / 1.398 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.671e-05/1.467, allocations: 180.2 kB / 1.398 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-05/1.467, allocations: 180.3 kB / 1.398 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/1.467, allocations: 418.8 kB / 1.399 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/1.467, allocations: 101 kB / 1.399 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/1.467, allocations: 108.8 kB / 1.399 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.892e-05/1.467, allocations: 183.7 kB / 1.399 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/1.467, allocations: 180.3 kB / 1.399 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.064e-05/1.467, allocations: 180.2 kB / 1.399 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-05/1.467, allocations: 180.1 kB / 1.4 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/1.467, allocations: 314.6 kB / 1.4 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/1.467, allocations: 189.8 kB / 1.4 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/1.467, allocations: 180.2 kB / 1.4 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/1.467, allocations: 109.4 kB / 1.4 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/1.468, allocations: 176.3 kB / 1.401 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/1.468, allocations: 112.6 kB / 1.401 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.678e-05/1.468, allocations: 96.3 kB / 1.401 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.468, allocations: 0 / 1.401 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001319/1.469, allocations: 333.8 kB / 1.401 GB, free: 19.93 MB / 0.8386 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 () * 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.002102/1.471, allocations: 1.184 MB / 1.402 GB, free: 18.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001111/1.471, allocations: 36.77 kB / 1.402 GB, free: 18.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.471, allocations: 3.938 kB / 1.402 GB, free: 18.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-06/1.471, allocations: 3.984 kB / 1.402 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/1.472, allocations: 0.5256 MB / 1.403 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/1.473, allocations: 345.5 kB / 1.403 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/1.473, allocations: 0.6846 MB / 1.404 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.309e-05/1.473, allocations: 4 kB / 1.404 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/1.473, allocations: 17.89 kB / 1.404 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.473, allocations: 0 / 1.404 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/1.497, allocations: 6.461 MB / 1.41 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.497, allocations: 230.4 kB / 1.41 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/3.323, allocations: 64 / 1.41 GB, free: 11.83 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat does not exist to compare? outputFormat=mat