Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7758/0.7758, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 176.5 kB / 173.7 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 93.05 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 9.594 kB / 0.5605 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 76.77 MB / 0.6355 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.339, allocations: 382.6 MB / 1.009 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/1.339, allocations: 134.2 kB / 1.009 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.756/3.095, allocations: 489.5 MB / 1.487 GB, free: 81.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.395e-06/3.095, allocations: 0 / 1.487 GB, free: 81.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000169/3.095, allocations: 47.91 kB / 1.487 GB, free: 81.38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005817/3.101, allocations: 2.283 MB / 1.49 GB, free: 80.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/3.101, allocations: 13.03 kB / 1.49 GB, free: 80.65 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003265/3.101, allocations: 163.8 kB / 1.49 GB, free: 80.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/3.102, allocations: 214.9 kB / 1.49 GB, free: 80.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/3.106, allocations: 1.933 MB / 1.492 GB, free: 80.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/3.106, allocations: 87.39 kB / 1.492 GB, free: 80.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/3.106, allocations: 111 kB / 1.492 GB, free: 80.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/3.109, allocations: 1.182 MB / 1.493 GB, free: 80 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/3.109, allocations: 5.406 kB / 1.493 GB, free: 79.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/3.109, allocations: 46.19 kB / 1.493 GB, free: 79.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/3.109, allocations: 26.22 kB / 1.493 GB, free: 79.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/3.111, allocations: 0.874 MB / 1.494 GB, free: 79.98 MB / 0.6511 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.00842/3.119, allocations: 6.871 MB / 1.501 GB, free: 75.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/3.12, allocations: 0.509 MB / 1.501 GB, free: 75.92 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008225/3.121, allocations: 1.106 MB / 1.502 GB, free: 74.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/3.121, allocations: 46.97 kB / 1.502 GB, free: 74.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 2.855e-06/3.121, allocations: 0 / 1.502 GB, free: 74.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.00242/3.123, allocations: 1.131 MB / 1.504 GB, free: 74.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/3.123, allocations: 88.02 kB / 1.504 GB, free: 74.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/3.126, allocations: 1.41 MB / 1.505 GB, free: 74.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/3.126, allocations: 43.98 kB / 1.505 GB, free: 74.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/3.127, allocations: 0.7554 MB / 1.506 GB, free: 73.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/3.127, allocations: 218.7 kB / 1.506 GB, free: 73.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/3.127, allocations: 20.97 kB / 1.506 GB, free: 73.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001457/3.127, allocations: 338.3 kB / 1.506 GB, free: 73.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005574/3.128, allocations: 283.9 kB / 1.507 GB, free: 73.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/3.129, allocations: 0.5438 MB / 1.507 GB, free: 73.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/3.129, allocations: 375 kB / 1.507 GB, free: 73.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/3.129, allocations: 7.891 kB / 1.507 GB, free: 73.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002194/3.132, allocations: 1.036 MB / 1.508 GB, free: 72.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005283/3.132, allocations: 2.081 MB / 1.511 GB, free: 70.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/3.132, allocations: 7.312 kB / 1.511 GB, free: 70.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/3.133, allocations: 71.14 kB / 1.511 GB, free: 70.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/3.133, allocations: 197.4 kB / 1.511 GB, free: 70.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/3.135, allocations: 3.001 MB / 1.514 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/3.137, allocations: 178.3 kB / 1.514 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/3.137, allocations: 43.47 kB / 1.514 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/3.137, allocations: 3.719 kB / 1.514 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/3.138, allocations: 0.8248 MB / 1.515 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/3.138, allocations: 7.812 kB / 1.515 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/3.138, allocations: 74.95 kB / 1.515 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/3.139, allocations: 191.6 kB / 1.515 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/3.141, allocations: 2.978 MB / 1.518 GB, free: 65.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/3.142, allocations: 142.1 kB / 1.518 GB, free: 65.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/3.142, allocations: 43.64 kB / 1.518 GB, free: 65.33 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (104): * Single equations (assignments): 101 * 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.0009507/3.143, allocations: 458.6 kB / 1.519 GB, free: 65.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/3.144, allocations: 155.8 kB / 1.519 GB, free: 65.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/3.145, allocations: 0.9191 MB / 1.52 GB, free: 64.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/3.145, allocations: 5.969 kB / 1.52 GB, free: 64.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/3.145, allocations: 1.312 kB / 1.52 GB, free: 64.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008941/3.146, allocations: 0.6317 MB / 1.52 GB, free: 64.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/3.151, allocations: 2.366 MB / 1.522 GB, free: 64.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/3.151, allocations: 6 kB / 1.522 GB, free: 64.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/3.151, allocations: 112.5 kB / 1.523 GB, free: 64.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/3.152, allocations: 68.81 kB / 1.523 GB, free: 64.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/3.152, allocations: 16.56 kB / 1.523 GB, free: 64.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/3.154, allocations: 2.99 MB / 1.526 GB, free: 61.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/3.154, allocations: 2.344 kB / 1.526 GB, free: 61.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/3.156, allocations: 1.295 MB / 1.527 GB, free: 60.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/3.157, allocations: 373.6 kB / 1.527 GB, free: 60.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/3.157, allocations: 16.98 kB / 1.527 GB, free: 60.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/3.158, allocations: 58.19 kB / 1.527 GB, free: 60.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/3.158, allocations: 55.33 kB / 1.527 GB, free: 60.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/3.158, allocations: 24.36 kB / 1.527 GB, free: 60.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002102/3.16, allocations: 1.177 MB / 1.529 GB, free: 60.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/3.16, allocations: 0 / 1.529 GB, free: 60.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005132/3.165, allocations: 1.212 MB / 1.53 GB, free: 60.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * 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: 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.005447/3.171, allocations: 3.658 MB / 1.533 GB, free: 58.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002794/3.173, allocations: 1.623 MB / 1.535 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/3.173, allocations: 3.812 kB / 1.535 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/3.174, allocations: 0.5018 MB / 1.535 GB, free: 57.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/3.179, allocations: 0.8041 MB / 1.536 GB, free: 57.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/3.189, allocations: 7.987 MB / 1.544 GB, free: 51.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/3.19, allocations: 1.301 MB / 1.545 GB, free: 51.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002076/3.192, allocations: 368.1 kB / 1.546 GB, free: 51.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/3.193, allocations: 0.634 MB / 1.546 GB, free: 51.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/3.193, allocations: 0 / 1.546 GB, free: 51.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09435/3.288, allocations: 56.85 MB / 1.602 GB, free: 48.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/3.288, allocations: 310.9 kB / 1.602 GB, free: 47.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.989/7.277, allocations: 0 / 1.602 GB, free: 47.99 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)