Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.566/2.566, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.725/4.725, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007399/0.0007402, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552/1.553, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.06517/1.618, allocations: 33.92 MB / 1.014 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03082/1.649, allocations: 10.7 MB / 1.024 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/1.653, allocations: 47.69 kB / 1.024 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003741/1.656, allocations: 0.6179 MB / 1.025 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/1.667, allocations: 1.997 MB / 1.027 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006372/1.673, allocations: 1.479 MB / 1.028 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0064/1.68, allocations: 2.093 MB / 1.031 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/1.682, allocations: 0.8626 MB / 1.031 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/1.685, allocations: 0.9458 MB / 1.032 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/1.687, allocations: 0.6416 MB / 1.033 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/1.688, allocations: 52 kB / 1.033 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/1.692, allocations: 1.1 MB / 1.034 GB, free: 15.68 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003727/1.692, allocations: 219.1 kB / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006492/1.693, allocations: 305 kB / 1.035 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/1.696, allocations: 1.862 MB / 1.036 GB, free: 13.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.696, allocations: 0 / 1.036 GB, free: 13.3 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.206e-06/1.696, allocations: 4 kB / 1.036 GB, free: 13.29 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.285e-05/1.696, allocations: 0 / 1.036 GB, free: 13.29 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004726/1.701, allocations: 1.483 MB / 1.038 GB, free: 11.75 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 8.551e-05/1.701, allocations: 8.031 kB / 1.038 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004202/1.702, allocations: 135.3 kB / 1.038 GB, free: 11.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/1.702, allocations: 154.3 kB / 1.038 GB, free: 11.45 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/1.707, allocations: 1.06 MB / 1.039 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.707, allocations: 70 kB / 1.039 GB, free: 10.28 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/1.707, allocations: 88 kB / 1.039 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/1.71, allocations: 0.8934 MB / 1.04 GB, free: 9.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.65e-05/1.71, allocations: 7.906 kB / 1.04 GB, free: 9.262 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/1.71, allocations: 36 kB / 1.04 GB, free: 9.227 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/1.711, allocations: 24 kB / 1.04 GB, free: 9.203 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/1.713, allocations: 0.644 MB / 1.041 GB, free: 8.559 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01059/1.723, allocations: 4.32 MB / 1.045 GB, free: 3.953 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/1.725, allocations: 0.4972 MB / 1.046 GB, free: 3.449 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/1.727, allocations: 0.6026 MB / 1.046 GB, free: 2.719 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/1.727, allocations: 39.12 kB / 1.046 GB, free: 2.672 MB / 0.795 GB Notification: Performance of pre-optimization done (n=57): time 4.979e-06/1.727, allocations: 0 / 1.046 GB, free: 2.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=57): time 0.004728/1.731, allocations: 1.234 MB / 1.047 GB, free: 1.348 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/1.732, allocations: 59.97 kB / 1.047 GB, free: 1.273 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/1.735, allocations: 0.9189 MB / 1.048 GB, free: 340 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/1.735, allocations: 41.7 kB / 1.048 GB, free: 292 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/1.736, allocations: 0.5152 MB / 1.049 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/1.736, allocations: 205 kB / 1.049 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/1.736, allocations: 12 kB / 1.049 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002551/1.737, allocations: 337.9 kB / 1.049 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/1.737, allocations: 201.9 kB / 1.05 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.738, allocations: 385.1 kB / 1.05 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009967/1.739, allocations: 271.1 kB / 1.05 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.739, allocations: 0 / 1.05 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003615/1.743, allocations: 0.8544 MB / 1.051 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001533/1.745, allocations: 1.314 MB / 1.052 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.613e-05/1.745, allocations: 8.109 kB / 1.052 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/1.746, allocations: 163.3 kB / 1.053 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/1.747, allocations: 143.7 kB / 1.053 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/1.755, allocations: 4.986 MB / 1.058 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.757, allocations: 119.3 kB / 1.058 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/1.757, allocations: 28 kB / 1.058 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.757, allocations: 4 kB / 1.058 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002364/1.759, allocations: 0.7134 MB / 1.058 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/1.759, allocations: 4 kB / 1.058 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/1.76, allocations: 135.6 kB / 1.059 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/1.761, allocations: 135.8 kB / 1.059 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/1.773, allocations: 5.997 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.775, allocations: 107.4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/1.775, allocations: 31.98 kB / 1.065 GB, free: 14.45 MB / 0.8262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 73 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001661/1.777, allocations: 365 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/1.778, allocations: 106.7 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/1.78, allocations: 0.7015 MB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.78, allocations: 11.98 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.78, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001662/1.782, allocations: 0.6572 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.004014/1.786, allocations: 1.827 MB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.786, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/1.786, allocations: 92.02 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/1.787, allocations: 123.3 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/1.787, allocations: 15.98 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00531/1.792, allocations: 4.978 MB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.792, allocations: 4.031 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/1.795, allocations: 1.069 MB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009379/1.796, allocations: 283.6 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/1.797, allocations: 12 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/1.797, allocations: 68.77 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.797, allocations: 48.45 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/1.797, allocations: 31.92 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001019/1.798, allocations: 0.6297 MB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/1.798, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002907/1.801, allocations: 0.7289 MB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003447/1.805, allocations: 2.237 MB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003076/1.808, allocations: 1.788 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.808, allocations: 0 / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009327/1.809, allocations: 0.6207 MB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/1.812, allocations: 0.5306 MB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008048/1.82, allocations: 5.214 MB / 1.086 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.821, allocations: 1.124 MB / 1.087 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001215/1.823, allocations: 217.1 kB / 1.088 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/1.823, allocations: 415.3 kB / 1.088 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of SimCode: time 1.352e-06/1.823, allocations: 0 / 1.088 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.931, allocations: 33.11 MB / 1.12 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005025/1.932, allocations: 284.8 kB / 1.121 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/6.879, allocations: 64 / 1.121 GB, free: 4.613 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat does not exist to compare? outputFormat=mat