Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.699/2.699, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001249/0.001249, allocations: 172.3 kB / 492.3 MB, free: 0.6406 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.588/1.588, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.001049/0.001049, allocations: 98 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.261e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2661, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.469, allocations: 434.1 MB / 1.636 GB, free: 12.62 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.47, allocations: 101.9 kB / 1.636 GB, free: 12.57 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.7/4.17, allocations: 0.5672 GB / 2.204 GB, free: 267.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 9.82e-07/4.17, allocations: 0 / 2.204 GB, free: 267.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002012/4.17, allocations: 33.39 kB / 2.204 GB, free: 267.4 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003589/4.174, allocations: 1.416 MB / 2.205 GB, free: 266.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/4.174, allocations: 12.84 kB / 2.205 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/4.174, allocations: 134.9 kB / 2.205 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/4.174, allocations: 152.2 kB / 2.205 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/4.177, allocations: 1.392 MB / 2.207 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/4.177, allocations: 70.83 kB / 2.207 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/4.177, allocations: 87.33 kB / 2.207 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/4.179, allocations: 0.8643 MB / 2.208 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/4.179, allocations: 6.094 kB / 2.208 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/4.18, allocations: 38.45 kB / 2.208 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/4.18, allocations: 23.03 kB / 2.208 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/4.181, allocations: 0.611 MB / 2.208 GB, free: 266.4 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.005876/4.187, allocations: 4.316 MB / 2.213 GB, free: 264.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/4.188, allocations: 0.5173 MB / 2.213 GB, free: 264.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/4.188, allocations: 321.5 kB / 2.213 GB, free: 264.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/4.189, allocations: 0.6008 MB / 2.214 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/4.189, allocations: 40.34 kB / 2.214 GB, free: 263.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.325e-06/4.189, allocations: 1.156 kB / 2.214 GB, free: 263.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001361/4.19, allocations: 0.6301 MB / 2.215 GB, free: 263.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/4.19, allocations: 58.22 kB / 2.215 GB, free: 263.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/4.192, allocations: 0.7979 MB / 2.216 GB, free: 263.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/4.192, allocations: 41.42 kB / 2.216 GB, free: 263.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/4.192, allocations: 0.5092 MB / 2.216 GB, free: 263 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/4.192, allocations: 202.4 kB / 2.216 GB, free: 262.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/4.192, allocations: 17.62 kB / 2.216 GB, free: 262.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/4.192, allocations: 332.5 kB / 2.217 GB, free: 262.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/4.193, allocations: 189.4 kB / 2.217 GB, free: 262.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/4.193, allocations: 376.6 kB / 2.217 GB, free: 262.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/4.194, allocations: 256.5 kB / 2.217 GB, free: 262.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/4.194, allocations: 1.031 kB / 2.217 GB, free: 262.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001347/4.195, allocations: 0.793 MB / 2.218 GB, free: 262.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/4.195, allocations: 1.317 MB / 2.219 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/4.195, allocations: 5.844 kB / 2.219 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/4.196, allocations: 136.2 kB / 2.22 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/4.196, allocations: 130.8 kB / 2.22 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/4.199, allocations: 4.813 MB / 2.224 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/4.2, allocations: 110.2 kB / 2.224 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/4.2, allocations: 28.92 kB / 2.225 GB, free: 256.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/4.2, allocations: 4.562 kB / 2.225 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/4.201, allocations: 0.6758 MB / 2.225 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/4.201, allocations: 5.344 kB / 2.225 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/4.202, allocations: 124.9 kB / 2.225 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/4.202, allocations: 126.2 kB / 2.225 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/4.206, allocations: 5.826 MB / 2.231 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/4.207, allocations: 100.3 kB / 2.231 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/4.207, allocations: 32.08 kB / 2.231 GB, free: 251 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 (71): * Single equations (assignments): 66 * 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%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002294/4.207, allocations: 147.1 kB / 2.231 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/4.207, allocations: 100.7 kB / 2.231 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/4.209, allocations: 0.7123 MB / 2.232 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/4.209, allocations: 17.84 kB / 2.232 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/4.209, allocations: 1.406 kB / 2.232 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/4.21, allocations: 0.6547 MB / 2.233 GB, free: 250.6 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 postOpt removeSimpleEquations (simulation): time 0.003542/4.214, allocations: 1.858 MB / 2.235 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/4.214, allocations: 1.438 kB / 2.235 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/4.214, allocations: 92.41 kB / 2.235 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/4.214, allocations: 123.6 kB / 2.235 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/4.214, allocations: 19.2 kB / 2.235 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/4.217, allocations: 4.813 MB / 2.24 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/4.217, allocations: 5.094 kB / 2.24 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/4.219, allocations: 1.098 MB / 2.241 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/4.219, allocations: 269.6 kB / 2.241 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/4.22, allocations: 22.55 kB / 2.241 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/4.22, allocations: 62.41 kB / 2.241 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/4.22, allocations: 44.97 kB / 2.241 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/4.22, allocations: 32.88 kB / 2.241 GB, free: 245.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001118/4.222, allocations: 0.6205 MB / 2.242 GB, free: 245 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/4.222, allocations: 0 / 2.242 GB, free: 245 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003385/4.225, allocations: 0.7691 MB / 2.242 GB, free: 245 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * 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%) 2,(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.003223/4.228, allocations: 2.477 MB / 2.245 GB, free: 243.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002395/4.231, allocations: 1.754 MB / 2.247 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/4.231, allocations: 3.219 kB / 2.247 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000609/4.231, allocations: 0.6056 MB / 2.247 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/4.234, allocations: 0.5557 MB / 2.248 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/4.238, allocations: 1.844 MB / 2.249 GB, free: 242.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/4.239, allocations: 1.116 MB / 2.251 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001192/4.24, allocations: 293.8 kB / 2.251 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/4.24, allocations: 407.8 kB / 2.251 GB, free: 241.4 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/4.24, allocations: 2.906 kB / 2.251 GB, free: 241.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06611/4.306, allocations: 38.04 MB / 2.288 GB, free: 240.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/4.307, allocations: 254.1 kB / 2.289 GB, free: 240.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/7.926, allocations: 1.719 kB / 2.289 GB, free: 240.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat does not exist to compare? outputFormat=mat