Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001099/0.001099, allocations: 188.4 kB / 487.4 MB, free: 5.051 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.485/1.485, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.000955, allocations: 98.19 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.23e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2657, allocations: 142.3 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9548/1.221, allocations: 159.3 MB / 1.362 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/1.221, allocations: 115.6 kB / 1.362 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05127/1.272, allocations: 21.94 MB / 1.383 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.844e-06/1.272, allocations: 7.938 kB / 1.383 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.84e-05/1.272, allocations: 11.62 kB / 1.383 GB, free: 29.64 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.001025/1.273, allocations: 0.7541 MB / 1.384 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.273, allocations: 7.719 kB / 1.384 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/1.273, allocations: 77.25 kB / 1.384 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/1.274, allocations: 430.8 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.274, allocations: 15.38 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/1.274, allocations: 27 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004948/1.275, allocations: 309.8 kB / 1.385 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/1.275, allocations: 334.5 kB / 1.385 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/1.275, allocations: 3.938 kB / 1.385 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/1.275, allocations: 0 / 1.385 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.275, allocations: 15.67 kB / 1.385 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/1.277, allocations: 1.436 MB / 1.386 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/1.277, allocations: 296.4 kB / 1.387 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/1.278, allocations: 277.2 kB / 1.387 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/1.278, allocations: 3.844 kB / 1.387 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.278, allocations: 45.95 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/1.278, allocations: 0 / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.0004587/1.278, allocations: 316.2 kB / 1.387 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/1.278, allocations: 55.25 kB / 1.387 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/1.279, allocations: 372.5 kB / 1.388 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/1.279, allocations: 25.7 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/1.279, allocations: 275.4 kB / 1.388 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/1.279, allocations: 141.9 kB / 1.388 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/1.279, allocations: 0 / 1.388 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.279, allocations: 366 kB / 1.389 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.279, allocations: 99.25 kB / 1.389 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/1.279, allocations: 98.34 kB / 1.389 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.28, allocations: 123.4 kB / 1.389 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.28, allocations: 3.938 kB / 1.389 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003803/1.28, allocations: 328.3 kB / 1.389 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.28, allocations: 7.781 kB / 1.389 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.28, allocations: 0 / 1.389 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.28, allocations: 3.844 kB / 1.389 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/1.28, allocations: 131.8 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.28, allocations: 3.906 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/1.281, allocations: 39.09 kB / 1.389 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/1.281, allocations: 7.719 kB / 1.389 GB, free: 26.71 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.6e-05/1.281, allocations: 112.9 kB / 1.389 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003671/1.281, allocations: 309.8 kB / 1.39 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/1.281, allocations: 46.41 kB / 1.39 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/1.281, allocations: 51.22 kB / 1.39 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.281, allocations: 3.844 kB / 1.39 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.281, allocations: 0 / 1.39 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.534e-05/1.281, allocations: 11.92 kB / 1.39 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/1.282, allocations: 0.4926 MB / 1.39 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.282, allocations: 3.938 kB / 1.39 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/1.282, allocations: 135 kB / 1.39 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.282, allocations: 3.844 kB / 1.39 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.283, allocations: 7.297 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.283, allocations: 3.906 kB / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.283, allocations: 0 / 1.39 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/1.283, allocations: 0.5667 MB / 1.391 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.283, allocations: 134.5 kB / 1.391 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.283, allocations: 0 / 1.391 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/1.284, allocations: 19.48 kB / 1.391 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/1.284, allocations: 22.81 kB / 1.391 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.284, allocations: 10.5 kB / 1.391 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002807/1.284, allocations: 297.7 kB / 1.392 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.284, allocations: 4 kB / 1.392 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003974/1.284, allocations: 142.9 kB / 1.392 GB, free: 25.69 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.00124/1.286, allocations: 1.277 MB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003732/1.286, allocations: 269 kB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.286, allocations: 0 / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/1.286, allocations: 155.5 kB / 1.393 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/1.287, allocations: 85.56 kB / 1.393 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/1.288, allocations: 0.9877 MB / 1.394 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/1.289, allocations: 0.8775 MB / 1.395 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000162/1.289, allocations: 42.42 kB / 1.395 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/1.289, allocations: 199 kB / 1.395 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.289, allocations: 7.906 kB / 1.395 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/1.319, allocations: 9.336 MB / 1.405 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.319, allocations: 212.7 kB / 1.405 GB, free: 18.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.631, allocations: 3.219 kB / 1.405 GB, free: 18.81 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat does not exist to compare? outputFormat=mat