Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.InternalHEXOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",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.298/2.298, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001086/0.001086, allocations: 176.1 kB / 492.3 MB, free: 0.6055 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.711/1.711, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009819/0.0009819, allocations: 99.47 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.256e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2822, allocations: 142.3 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.524, allocations: 424.4 MB / 1.627 GB, free: 5.121 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.524, allocations: 124 kB / 1.627 GB, free: 5.051 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.799/3.323, allocations: 491.1 MB / 2.107 GB, free: 91.54 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.034e-06/3.324, allocations: 0 / 2.107 GB, free: 91.54 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002825/3.324, allocations: 43.98 kB / 2.107 GB, free: 91.49 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005316/3.329, allocations: 1.942 MB / 2.109 GB, free: 89.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/3.329, allocations: 11.97 kB / 2.109 GB, free: 89.48 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/3.329, allocations: 156.6 kB / 2.109 GB, free: 89.32 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/3.33, allocations: 209.9 kB / 2.109 GB, free: 89.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/3.333, allocations: 1.7 MB / 2.111 GB, free: 87.36 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/3.333, allocations: 86.08 kB / 2.111 GB, free: 87.27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/3.334, allocations: 116 kB / 2.111 GB, free: 87.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/3.335, allocations: 1.054 MB / 2.112 GB, free: 86.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/3.335, allocations: 3.938 kB / 2.112 GB, free: 86.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/3.335, allocations: 44 kB / 2.112 GB, free: 86 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/3.335, allocations: 31.95 kB / 2.112 GB, free: 85.97 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/3.337, allocations: 0.7695 MB / 2.113 GB, free: 85.19 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007027/3.344, allocations: 6.487 MB / 2.119 GB, free: 78.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/3.345, allocations: 0.5371 MB / 2.12 GB, free: 77.54 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/3.345, allocations: 339.7 kB / 2.12 GB, free: 77.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008482/3.346, allocations: 1.267 MB / 2.121 GB, free: 75.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/3.346, allocations: 47.12 kB / 2.121 GB, free: 75.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.296e-06/3.346, allocations: 3.984 kB / 2.121 GB, free: 75.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001334/3.347, allocations: 0.7174 MB / 2.122 GB, free: 74.86 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/3.347, allocations: 89.61 kB / 2.122 GB, free: 74.76 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/3.349, allocations: 1.352 MB / 2.123 GB, free: 73.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/3.349, allocations: 41.7 kB / 2.123 GB, free: 73.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/3.35, allocations: 0.7169 MB / 2.124 GB, free: 72.63 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/3.35, allocations: 248.5 kB / 2.124 GB, free: 72.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/3.35, allocations: 16 kB / 2.124 GB, free: 72.37 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/3.35, allocations: 337.9 kB / 2.125 GB, free: 72.03 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/3.35, allocations: 262 kB / 2.125 GB, free: 71.77 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/3.351, allocations: 477 kB / 2.125 GB, free: 71.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/3.351, allocations: 356.1 kB / 2.126 GB, free: 70.88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/3.351, allocations: 0 / 2.126 GB, free: 70.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001409/3.353, allocations: 0.9646 MB / 2.127 GB, free: 69.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/3.353, allocations: 1.351 MB / 2.128 GB, free: 68.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/3.353, allocations: 15.98 kB / 2.128 GB, free: 68.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/3.353, allocations: 73.69 kB / 2.128 GB, free: 68.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/3.354, allocations: 175.7 kB / 2.128 GB, free: 68.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/3.356, allocations: 2.97 MB / 2.131 GB, free: 64.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/3.357, allocations: 151 kB / 2.131 GB, free: 64.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/3.357, allocations: 39.92 kB / 2.131 GB, free: 64.74 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/3.357, allocations: 5.875 kB / 2.131 GB, free: 64.74 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/3.358, allocations: 0.8007 MB / 2.132 GB, free: 63.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/3.358, allocations: 4 kB / 2.132 GB, free: 63.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/3.358, allocations: 61.64 kB / 2.132 GB, free: 63.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/3.359, allocations: 179.8 kB / 2.132 GB, free: 63.69 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/3.36, allocations: 2.958 MB / 2.135 GB, free: 60.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/3.362, allocations: 131 kB / 2.135 GB, free: 60.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/3.362, allocations: 39.98 kB / 2.135 GB, free: 60.29 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000222/3.362, allocations: 156.6 kB / 2.135 GB, free: 60.13 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/3.362, allocations: 162 kB / 2.136 GB, free: 59.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/3.364, allocations: 0.9698 MB / 2.137 GB, free: 58.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/3.364, allocations: 8 kB / 2.137 GB, free: 58.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/3.364, allocations: 0 / 2.137 GB, free: 58.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008906/3.365, allocations: 0.7701 MB / 2.137 GB, free: 58.17 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/3.369, allocations: 2.637 MB / 2.14 GB, free: 55.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/3.369, allocations: 4.375 kB / 2.14 GB, free: 55.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/3.37, allocations: 139.8 kB / 2.14 GB, free: 55.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/3.37, allocations: 73.69 kB / 2.14 GB, free: 55.17 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/3.37, allocations: 20 kB / 2.14 GB, free: 55.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/3.372, allocations: 2.963 MB / 2.143 GB, free: 51.92 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/3.372, allocations: 7.938 kB / 2.143 GB, free: 51.91 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/3.374, allocations: 1.576 MB / 2.145 GB, free: 50.16 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/3.375, allocations: 374.7 kB / 2.145 GB, free: 49.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004798/3.375, allocations: 20 kB / 2.145 GB, free: 49.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/3.377, allocations: 63.78 kB / 2.145 GB, free: 49.69 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/3.377, allocations: 56.42 kB / 2.145 GB, free: 49.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/3.377, allocations: 39.94 kB / 2.145 GB, free: 49.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002144/3.379, allocations: 1.072 MB / 2.146 GB, free: 48.53 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/3.379, allocations: 0 / 2.146 GB, free: 48.53 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004902/3.384, allocations: 1.197 MB / 2.147 GB, free: 47.33 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006495/3.39, allocations: 4.043 MB / 2.151 GB, free: 43.19 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002922/3.393, allocations: 1.695 MB / 2.153 GB, free: 41.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.088e-05/3.393, allocations: 0 / 2.153 GB, free: 41.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/3.394, allocations: 0.5797 MB / 2.153 GB, free: 40.83 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004663/3.399, allocations: 0.7962 MB / 2.154 GB, free: 40.04 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/3.406, allocations: 2.829 MB / 2.157 GB, free: 37.12 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/3.407, allocations: 1.312 MB / 2.158 GB, free: 35.78 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00261/3.41, allocations: 0.4974 MB / 2.159 GB, free: 35.28 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/3.411, allocations: 0.6008 MB / 2.159 GB, free: 34.68 MB / 1.151 GB Notification: Performance of SimCode: time 1.272e-06/3.411, allocations: 0 / 2.159 GB, free: 34.68 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.877/4.288, allocations: 59.6 MB / 2.218 GB, free: 234.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/4.288, allocations: 268.4 kB / 2.218 GB, free: 233.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.67/8.959, allocations: 2.812 kB / 2.218 GB, free: 233.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat does not exist to compare? outputFormat=mat