Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.354/2.354, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001152/0.001152, allocations: 184.6 kB / 487.4 MB, free: 5.055 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.504/1.504, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.0008838/0.0008838, allocations: 91.95 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.513e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2692, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9578/1.227, allocations: 157.1 MB / 1.36 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.227, allocations: 107 kB / 1.36 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04354/1.271, allocations: 17.99 MB / 1.377 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.271, allocations: 3.938 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.036e-05/1.271, allocations: 11.81 kB / 1.377 GB, free: 31.68 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008525/1.272, allocations: 0.581 MB / 1.378 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.272, allocations: 7.719 kB / 1.378 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/1.272, allocations: 50.83 kB / 1.378 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/1.273, allocations: 354.3 kB / 1.378 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.273, allocations: 11.69 kB / 1.378 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/1.273, allocations: 11.53 kB / 1.378 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002409/1.273, allocations: 122.9 kB / 1.378 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/1.273, allocations: 150.8 kB / 1.378 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.273, allocations: 0 / 1.378 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/1.273, allocations: 0 / 1.378 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.273, allocations: 15.69 kB / 1.378 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/1.274, allocations: 0.8115 MB / 1.379 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/1.275, allocations: 131.7 kB / 1.379 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/1.275, allocations: 89.95 kB / 1.379 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/1.275, allocations: 3.984 kB / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/1.275, allocations: 38.25 kB / 1.38 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/1.275, allocations: 0 / 1.38 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.000308/1.275, allocations: 161.4 kB / 1.38 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/1.275, allocations: 55.28 kB / 1.38 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/1.275, allocations: 329.1 kB / 1.38 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/1.275, allocations: 25.7 kB / 1.38 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.276, allocations: 206.3 kB / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/1.276, allocations: 57.23 kB / 1.38 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/1.276, allocations: 0 / 1.38 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.276, allocations: 347.1 kB / 1.381 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/1.276, allocations: 41.47 kB / 1.381 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/1.276, allocations: 44.16 kB / 1.381 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/1.276, allocations: 51.92 kB / 1.381 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.276, allocations: 0 / 1.381 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002249/1.276, allocations: 169.4 kB / 1.381 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.276, allocations: 3.844 kB / 1.381 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.276, allocations: 0 / 1.381 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.276, allocations: 3.984 kB / 1.381 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/1.277, allocations: 57.97 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.277, allocations: 4 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/1.277, allocations: 23.36 kB / 1.381 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/1.277, allocations: 3.875 kB / 1.381 GB, free: 29.34 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 (20): * Single equations (assignments): 20 * 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 8.091e-05/1.277, allocations: 112.4 kB / 1.381 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002036/1.277, allocations: 157.8 kB / 1.381 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/1.277, allocations: 35.06 kB / 1.381 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/1.277, allocations: 44.45 kB / 1.381 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/1.277, allocations: 3.812 kB / 1.381 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.277, allocations: 0 / 1.381 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.277, allocations: 0 / 1.381 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/1.278, allocations: 338.4 kB / 1.382 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.278, allocations: 0 / 1.382 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/1.278, allocations: 54.38 kB / 1.382 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.278, allocations: 3.844 kB / 1.382 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.278, allocations: 3 kB / 1.382 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.278, allocations: 4 kB / 1.382 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.278, allocations: 0 / 1.382 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/1.278, allocations: 326.5 kB / 1.382 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/1.278, allocations: 119 kB / 1.382 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/1.278, allocations: 3.984 kB / 1.382 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/1.279, allocations: 7.781 kB / 1.382 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/1.279, allocations: 11.67 kB / 1.382 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/1.279, allocations: 7.828 kB / 1.382 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002523/1.279, allocations: 264.8 kB / 1.382 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.279, allocations: 0 / 1.382 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003146/1.279, allocations: 69.19 kB / 1.383 GB, free: 28.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008872/1.28, allocations: 1.03 MB / 1.384 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001947/1.28, allocations: 108.6 kB / 1.384 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.28, allocations: 3.875 kB / 1.384 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/1.28, allocations: 58.47 kB / 1.384 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/1.281, allocations: 84.05 kB / 1.384 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.282, allocations: 0.58 MB / 1.384 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/1.282, allocations: 0.8104 MB / 1.385 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000123/1.283, allocations: 26.66 kB / 1.385 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/1.283, allocations: 115.2 kB / 1.385 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.283, allocations: 4 kB / 1.385 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/1.31, allocations: 6.816 MB / 1.392 GB, free: 23.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/1.31, allocations: 206 kB / 1.392 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.503, allocations: 1.891 kB / 1.392 GB, free: 23.07 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat