Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.388/2.388, allocations: 390.5 MB / 398 MB, free: 11 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.001529/0.001529, allocations: 183.5 kB / 491.2 MB, free: 1.617 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.613/1.613, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.000878/0.0008777, allocations: 94.23 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.702e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.352, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.365, allocations: 160.1 MB / 1.369 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/1.365, allocations: 105.9 kB / 1.369 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05165/1.417, allocations: 21.95 MB / 1.39 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/1.417, allocations: 4 kB / 1.39 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.839e-05/1.417, allocations: 11.53 kB / 1.39 GB, free: 27.95 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001011/1.418, allocations: 0.7627 MB / 1.391 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.418, allocations: 11.44 kB / 1.391 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/1.418, allocations: 69.16 kB / 1.391 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/1.418, allocations: 436.9 kB / 1.392 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/1.418, allocations: 15.56 kB / 1.392 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/1.419, allocations: 33.89 kB / 1.392 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004876/1.419, allocations: 304.2 kB / 1.392 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/1.42, allocations: 336.1 kB / 1.392 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/1.42, allocations: 0 / 1.392 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/1.42, allocations: 3.984 kB / 1.392 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.42, allocations: 11.56 kB / 1.392 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.421, allocations: 1.433 MB / 1.394 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/1.422, allocations: 302.4 kB / 1.394 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/1.422, allocations: 282.4 kB / 1.394 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/1.422, allocations: 3.844 kB / 1.394 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.422, allocations: 42.08 kB / 1.394 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/1.422, allocations: 4 kB / 1.394 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.0004668/1.423, allocations: 305.2 kB / 1.395 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/1.423, allocations: 63.2 kB / 1.395 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/1.423, allocations: 378 kB / 1.395 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/1.423, allocations: 25.7 kB / 1.395 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/1.423, allocations: 275.8 kB / 1.395 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.022e-05/1.423, allocations: 137.6 kB / 1.395 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/1.423, allocations: 0 / 1.395 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.423, allocations: 360.6 kB / 1.396 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.424, allocations: 102.1 kB / 1.396 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/1.424, allocations: 100.3 kB / 1.396 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/1.424, allocations: 113.2 kB / 1.396 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.424, allocations: 0 / 1.396 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003832/1.424, allocations: 335 kB / 1.396 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.424, allocations: 3.844 kB / 1.396 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.424, allocations: 0 / 1.396 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.424, allocations: 0 / 1.396 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/1.425, allocations: 135 kB / 1.396 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.425, allocations: 0 / 1.396 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/1.425, allocations: 46.58 kB / 1.396 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/1.425, allocations: 10.84 kB / 1.397 GB, free: 25.01 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 9.333e-05/1.425, allocations: 109.6 kB / 1.397 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000389/1.426, allocations: 313.3 kB / 1.397 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/1.426, allocations: 46.5 kB / 1.397 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/1.426, allocations: 52.12 kB / 1.397 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.426, allocations: 3.844 kB / 1.397 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.426, allocations: 3.953 kB / 1.397 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.426, allocations: 3.984 kB / 1.397 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/1.426, allocations: 0.5009 MB / 1.397 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.426, allocations: 3.938 kB / 1.398 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/1.427, allocations: 128.3 kB / 1.398 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.427, allocations: 3.969 kB / 1.398 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/1.427, allocations: 3.984 kB / 1.398 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.427, allocations: 3.938 kB / 1.398 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.427, allocations: 3.938 kB / 1.398 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/1.428, allocations: 0.5678 MB / 1.398 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/1.428, allocations: 135.5 kB / 1.398 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/1.428, allocations: 0 / 1.398 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/1.428, allocations: 15.64 kB / 1.398 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/1.428, allocations: 22.81 kB / 1.398 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/1.428, allocations: 11.73 kB / 1.398 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002952/1.428, allocations: 297.2 kB / 1.399 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.428, allocations: 7.844 kB / 1.399 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004266/1.429, allocations: 139.1 kB / 1.399 GB, free: 23.99 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.001225/1.43, allocations: 1.272 MB / 1.4 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004059/1.431, allocations: 275.5 kB / 1.4 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.431, allocations: 0 / 1.4 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/1.431, allocations: 157.9 kB / 1.4 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/1.431, allocations: 78.36 kB / 1.401 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/1.433, allocations: 0.9798 MB / 1.401 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/1.434, allocations: 0.8844 MB / 1.402 GB, free: 21.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002021/1.434, allocations: 38.45 kB / 1.402 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.434, allocations: 206.3 kB / 1.403 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of SimCode: time 8.42e-07/1.434, allocations: 4 kB / 1.403 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/1.464, allocations: 9.333 MB / 1.412 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.465, allocations: 212 kB / 1.412 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.819, allocations: 0 / 1.412 GB, free: 12.53 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat does not exist to compare? outputFormat=mat