Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001188/0.001187, allocations: 183.9 kB / 0.4902 GB, free: 2.23 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.653/1.653, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009855/0.0009853, allocations: 100.2 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 7.156 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3184, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.5247, allocations: 158.6 MB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.5251, allocations: 115.9 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04982/0.5749, allocations: 18.22 MB / 1.402 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.535e-06/0.575, allocations: 4 kB / 1.402 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.575, allocations: 4 kB / 1.402 GB, free: 8.387 MB / 0.9011 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.001196/0.5762, allocations: 0.6539 MB / 1.403 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5763, allocations: 8.562 kB / 1.403 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/0.5764, allocations: 58.55 kB / 1.403 GB, free: 7.609 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.5765, allocations: 47.66 kB / 1.403 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.5771, allocations: 353.1 kB / 1.403 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5771, allocations: 20.44 kB / 1.403 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.5772, allocations: 20 kB / 1.403 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.5776, allocations: 207.2 kB / 1.403 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.5776, allocations: 0 / 1.403 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.5777, allocations: 8.344 kB / 1.403 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.5777, allocations: 11.95 kB / 1.403 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.5781, allocations: 169.7 kB / 1.404 GB, free: 6.742 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.5795, allocations: 0.8779 MB / 1.405 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.5799, allocations: 168.8 kB / 1.405 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.5799, allocations: 4 kB / 1.405 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.5799, allocations: 34.56 kB / 1.405 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.5799, allocations: 0 / 1.405 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0006408/0.5806, allocations: 269.3 kB / 1.405 GB, free: 5.301 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.5806, allocations: 55.41 kB / 1.405 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.5811, allocations: 368.8 kB / 1.405 GB, free: 4.863 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.5812, allocations: 29.7 kB / 1.405 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.5813, allocations: 212.2 kB / 1.406 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.5814, allocations: 63.09 kB / 1.406 GB, free: 4.555 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.5814, allocations: 4 kB / 1.406 GB, free: 4.551 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5816, allocations: 342.8 kB / 1.406 GB, free: 4.207 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.5817, allocations: 63.92 kB / 1.406 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5819, allocations: 64.83 kB / 1.406 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.582, allocations: 69 kB / 1.406 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.582, allocations: 0 / 1.406 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004118/0.5825, allocations: 221.9 kB / 1.406 GB, free: 3.793 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.5825, allocations: 4 kB / 1.406 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5825, allocations: 0 / 1.406 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5825, allocations: 4 kB / 1.406 GB, free: 3.785 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.5828, allocations: 55.97 kB / 1.406 GB, free: 3.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.5828, allocations: 0 / 1.406 GB, free: 3.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.583, allocations: 31.77 kB / 1.406 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.583, allocations: 4 kB / 1.406 GB, free: 3.695 MB / 0.9011 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 () * Number of clocked 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 0.0001837/0.5832, allocations: 173.7 kB / 1.407 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.5833, allocations: 35.53 kB / 1.407 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.5834, allocations: 39.59 kB / 1.407 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5834, allocations: 0 / 1.407 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.5834, allocations: 0 / 1.407 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5834, allocations: 3.984 kB / 1.407 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.5839, allocations: 381.2 kB / 1.407 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5839, allocations: 4 kB / 1.407 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.5842, allocations: 51.97 kB / 1.407 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.5842, allocations: 3.984 kB / 1.407 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.5842, allocations: 7.938 kB / 1.407 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.5842, allocations: 3.984 kB / 1.407 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5842, allocations: 4 kB / 1.407 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006379/0.5849, allocations: 389.6 kB / 1.408 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.585, allocations: 116.7 kB / 1.408 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.5851, allocations: 4 kB / 1.408 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.5853, allocations: 23.98 kB / 1.408 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.5853, allocations: 7.984 kB / 1.408 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.5853, allocations: 7.938 kB / 1.408 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003495/0.5857, allocations: 303.1 kB / 1.408 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5857, allocations: 0 / 1.408 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003896/0.5861, allocations: 83.84 kB / 1.408 GB, free: 2 MB / 0.9011 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 () * Number of clocked 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.001232/0.5873, allocations: 1.076 MB / 1.409 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.5877, allocations: 164.9 kB / 1.409 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5878, allocations: 0 / 1.409 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.5879, allocations: 79.91 kB / 1.409 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.5885, allocations: 99.03 kB / 1.409 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.5923, allocations: 2.179 MB / 1.412 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.5928, allocations: 0.807 MB / 1.412 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.593, allocations: 34.97 kB / 1.412 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.5932, allocations: 115.4 kB / 1.412 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-06/0.5932, allocations: 0 / 1.412 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.6228, allocations: 9.201 MB / 1.421 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.6231, allocations: 261.6 kB / 1.422 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.959, allocations: 0 / 1.422 GB, free: 4.094 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat