Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4893/0.4893, allocations: 90.82 MB / 104.5 MB, free: 9.781 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008123/0.0008123, allocations: 95.86 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.063e-05, allocations: 4 kB / 0.4898 GB, free: 5.223 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3821, allocations: 72.31 MB / 0.5604 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7296/1.112, allocations: 376.6 MB / 0.9281 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.112, allocations: 121.8 kB / 0.9282 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.232/3.344, allocations: 491.1 MB / 1.408 GB, free: 73.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/3.344, allocations: 3.094 kB / 1.408 GB, free: 73.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001756/3.344, allocations: 46.69 kB / 1.408 GB, free: 73.29 MB / 0.6042 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.004734/3.349, allocations: 1.93 MB / 1.41 GB, free: 72.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/3.349, allocations: 13.38 kB / 1.41 GB, free: 72.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/3.35, allocations: 162 kB / 1.41 GB, free: 72.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/3.35, allocations: 205.3 kB / 1.41 GB, free: 72.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/3.353, allocations: 1.714 MB / 1.412 GB, free: 72.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/3.353, allocations: 81.83 kB / 1.412 GB, free: 72.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/3.354, allocations: 108 kB / 1.412 GB, free: 72.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/3.355, allocations: 1.051 MB / 1.413 GB, free: 72.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/3.355, allocations: 10.78 kB / 1.413 GB, free: 72.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/3.355, allocations: 40.5 kB / 1.413 GB, free: 72.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/3.355, allocations: 30.44 kB / 1.413 GB, free: 72.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/3.357, allocations: 0.7709 MB / 1.414 GB, free: 72.01 MB / 0.6042 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.007114/3.364, allocations: 6.483 MB / 1.42 GB, free: 68.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/3.365, allocations: 0.5459 MB / 1.421 GB, free: 68.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/3.365, allocations: 340.9 kB / 1.421 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008517/3.366, allocations: 1.264 MB / 1.422 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/3.366, allocations: 42 kB / 1.422 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 4.027e-06/3.366, allocations: 0 / 1.422 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.001327/3.367, allocations: 0.7294 MB / 1.423 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/3.367, allocations: 84.61 kB / 1.423 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/3.369, allocations: 1.355 MB / 1.424 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/3.369, allocations: 42.23 kB / 1.424 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/3.37, allocations: 0.7133 MB / 1.425 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/3.37, allocations: 246.1 kB / 1.425 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/3.37, allocations: 18.03 kB / 1.425 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/3.37, allocations: 338.1 kB / 1.426 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/3.371, allocations: 267.5 kB / 1.426 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/3.371, allocations: 480.5 kB / 1.426 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/3.372, allocations: 342.9 kB / 1.427 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/3.372, allocations: 3.469 kB / 1.427 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001425/3.373, allocations: 0.9646 MB / 1.428 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003575/3.373, allocations: 1.361 MB / 1.429 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/3.373, allocations: 3.75 kB / 1.429 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/3.374, allocations: 73.48 kB / 1.429 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/3.374, allocations: 179.2 kB / 1.429 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/3.376, allocations: 2.977 MB / 1.432 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/3.377, allocations: 144.6 kB / 1.432 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/3.377, allocations: 40.66 kB / 1.432 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/3.377, allocations: 3.156 kB / 1.432 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/3.379, allocations: 0.7958 MB / 1.433 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/3.379, allocations: 6.781 kB / 1.433 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/3.379, allocations: 67.14 kB / 1.433 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/3.379, allocations: 178.8 kB / 1.433 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/3.381, allocations: 2.959 MB / 1.436 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/3.382, allocations: 123.9 kB / 1.436 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/3.382, allocations: 43.08 kB / 1.436 GB, free: 58.63 MB / 0.6042 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.0002122/3.382, allocations: 154.2 kB / 1.437 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/3.383, allocations: 156.3 kB / 1.437 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/3.384, allocations: 0.9678 MB / 1.438 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/3.384, allocations: 9.828 kB / 1.438 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/3.384, allocations: 7.672 kB / 1.438 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/3.386, allocations: 0.7694 MB / 1.438 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/3.39, allocations: 2.636 MB / 1.441 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/3.39, allocations: 8.016 kB / 1.441 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/3.39, allocations: 131.1 kB / 1.441 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/3.39, allocations: 76.53 kB / 1.441 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/3.39, allocations: 27.86 kB / 1.441 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/3.392, allocations: 2.965 MB / 1.444 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/3.392, allocations: 7.406 kB / 1.444 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/3.394, allocations: 1.577 MB / 1.446 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007565/3.394, allocations: 375.2 kB / 1.446 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/3.395, allocations: 17.84 kB / 1.446 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/3.395, allocations: 60.69 kB / 1.446 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/3.395, allocations: 57.12 kB / 1.446 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/3.396, allocations: 28.89 kB / 1.446 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001632/3.397, allocations: 1.074 MB / 1.447 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/3.397, allocations: 2.844 kB / 1.447 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003872/3.401, allocations: 1.197 MB / 1.448 GB, free: 53.62 MB / 0.6042 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.005678/3.407, allocations: 4.051 MB / 1.452 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003068/3.41, allocations: 1.695 MB / 1.454 GB, free: 51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/3.41, allocations: 0 / 1.454 GB, free: 51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000792/3.411, allocations: 0.5888 MB / 1.455 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004371/3.415, allocations: 0.8038 MB / 1.455 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/3.421, allocations: 2.812 MB / 1.458 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/3.422, allocations: 1.313 MB / 1.459 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001962/3.424, allocations: 0.4931 MB / 1.46 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/3.424, allocations: 0.6015 MB / 1.46 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of SimCode: time 1.412e-06/3.424, allocations: 0 / 1.46 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/3.532, allocations: 59.6 MB / 1.519 GB, free: 46.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/3.532, allocations: 265.3 kB / 1.519 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.237/7.769, allocations: 2.344 kB / 1.519 GB, free: 46.03 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)