Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.243/2.243, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001159/0.001159, allocations: 183.4 kB / 0.4901 GB, free: 2.238 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.58/1.58, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009707/0.0009707, allocations: 94.89 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.000367, allocations: 6.906 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.4666, allocations: 153.1 MB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4669, allocations: 91.94 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01362/0.4805, allocations: 3.489 MB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4805, allocations: 0 / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4806, allocations: 0 / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004379/0.481, allocations: 387 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4811, allocations: 8.828 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.4811, allocations: 109.8 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.4812, allocations: 79.5 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.4815, allocations: 271.8 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.4815, allocations: 154.5 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.4816, allocations: 154.6 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.539e-05/0.4817, allocations: 108.9 kB / 1.384 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.4817, allocations: 75.28 kB / 1.384 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.4818, allocations: 150.6 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.4818, allocations: 154.6 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.4819, allocations: 150.6 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.4822, allocations: 473.8 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.4823, allocations: 173.1 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.4824, allocations: 75.28 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.4824, allocations: 109.8 kB / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4824, allocations: 0 / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 7.722e-05/0.4825, allocations: 29.7 kB / 1.385 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.4826, allocations: 130.7 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4827, allocations: 126.3 kB / 1.385 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4827, allocations: 25.7 kB / 1.385 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.4828, allocations: 92.12 kB / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.4828, allocations: 0 / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.4828, allocations: 4 kB / 1.385 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.483, allocations: 318.8 kB / 1.386 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.483, allocations: 11.94 kB / 1.386 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.483, allocations: 4 kB / 1.386 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.483, allocations: 8 kB / 1.386 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.483, allocations: 0 / 1.386 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001275/0.4832, allocations: 49.59 kB / 1.386 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4832, allocations: 8 kB / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.4832, allocations: 0 / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.4832, allocations: 0 / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.4832, allocations: 0 / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4833, allocations: 0 / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.4833, allocations: 4 kB / 1.386 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4833, allocations: 8.047 kB / 1.386 GB, free: 9.086 MB / 0.8855 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 (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.4834, allocations: 189.1 kB / 1.386 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.4835, allocations: 112.8 kB / 1.386 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.4835, allocations: 112.6 kB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/0.4836, allocations: 180.2 kB / 1.386 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.068e-05/0.4837, allocations: 188.2 kB / 1.386 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.761e-05/0.4838, allocations: 180.3 kB / 1.387 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.484, allocations: 417.1 kB / 1.387 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.484, allocations: 101 kB / 1.387 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.4841, allocations: 112.9 kB / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-05/0.4842, allocations: 176.3 kB / 1.387 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.4842, allocations: 184.3 kB / 1.387 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.601e-05/0.4843, allocations: 184.2 kB / 1.388 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.748e-05/0.4844, allocations: 180.3 kB / 1.388 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.4845, allocations: 307.8 kB / 1.388 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.4846, allocations: 190 kB / 1.388 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.4847, allocations: 188.2 kB / 1.388 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.4848, allocations: 101 kB / 1.389 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.4849, allocations: 184.5 kB / 1.389 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.4849, allocations: 105 kB / 1.389 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.505e-05/0.485, allocations: 100.2 kB / 1.389 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.485, allocations: 0 / 1.389 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003633/0.4854, allocations: 43.94 kB / 1.389 GB, free: 5.406 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0006445/0.486, allocations: 0.8788 MB / 1.39 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.4861, allocations: 37.7 kB / 1.39 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4861, allocations: 0 / 1.39 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.4862, allocations: 0 / 1.39 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.4865, allocations: 0.5302 MB / 1.39 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.4871, allocations: 462 kB / 1.391 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.4874, allocations: 0.6887 MB / 1.392 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.4874, allocations: 4 kB / 1.392 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.4875, allocations: 15.44 kB / 1.392 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.4875, allocations: 0 / 1.392 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.5007, allocations: 2.322 MB / 1.394 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.5009, allocations: 218 kB / 1.394 GB, free: 348 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.223, allocations: 3.938 kB / 1.394 GB, free: 344 kB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat does not exist to compare? outputFormat=mat