Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7696/0.7696, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001038/0.001038, allocations: 166.7 kB / 171.8 MB, free: 1.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.399/1.399, allocations: 170.6 MB / 374.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001575/0.001575, allocations: 114.8 kB / 444.8 MB, free: 9.242 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4989/0.4989, allocations: 73.4 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.828/1.327, allocations: 384.4 MB / 1.042 GB, free: 23.17 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004129/1.327, allocations: 107.5 kB / 1.042 GB, free: 23.11 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.009/3.337, allocations: 0.5573 GB / 1.599 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/3.337, allocations: 3.938 kB / 1.599 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001524/3.337, allocations: 39.98 kB / 1.599 GB, free: 7.391 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.00525/3.342, allocations: 2.086 MB / 1.602 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/3.342, allocations: 12.03 kB / 1.602 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/3.343, allocations: 217.6 kB / 1.602 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5415/3.884, allocations: 13.06 MB / 1.614 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/3.885, allocations: 39.34 kB / 1.615 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/3.885, allocations: 93.14 kB / 1.615 GB, free: 69.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001902/3.887, allocations: 0.8487 MB / 1.615 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/3.889, allocations: 1.112 MB / 1.617 GB, free: 69.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/3.889, allocations: 3.719 kB / 1.617 GB, free: 69.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/3.889, allocations: 3.312 kB / 1.617 GB, free: 69.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/3.889, allocations: 35.41 kB / 1.617 GB, free: 69.23 MB / 0.6198 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.01335/3.903, allocations: 7.706 MB / 1.624 GB, free: 65.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/3.905, allocations: 0.9997 MB / 1.625 GB, free: 65.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/3.906, allocations: 416.2 kB / 1.625 GB, free: 65.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/3.907, allocations: 280.5 kB / 1.626 GB, free: 65.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007924/3.907, allocations: 476.8 kB / 1.626 GB, free: 65.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/3.907, allocations: 0 / 1.626 GB, free: 65.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.007142/3.914, allocations: 2.726 MB / 1.629 GB, free: 64.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/3.915, allocations: 273.4 kB / 1.629 GB, free: 63.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/3.916, allocations: 1.032 MB / 1.63 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/3.917, allocations: 30.75 kB / 1.63 GB, free: 63.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/3.917, allocations: 0.7116 MB / 1.631 GB, free: 63.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/3.918, allocations: 295.1 kB / 1.631 GB, free: 63.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/3.918, allocations: 0 / 1.631 GB, free: 63.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00013/3.918, allocations: 362.3 kB / 1.631 GB, free: 62.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009576/3.919, allocations: 0.5251 MB / 1.632 GB, free: 62.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/3.92, allocations: 0.8814 MB / 1.633 GB, free: 62.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/3.922, allocations: 0.708 MB / 1.634 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/3.922, allocations: 2.031 kB / 1.634 GB, free: 62.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003933/3.926, allocations: 1.729 MB / 1.635 GB, free: 62.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008041/3.926, allocations: 3.012 MB / 1.638 GB, free: 59.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/3.926, allocations: 10.84 kB / 1.638 GB, free: 59.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007594/3.927, allocations: 269 kB / 1.638 GB, free: 59.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/3.929, allocations: 342 kB / 1.639 GB, free: 59.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/3.931, allocations: 1.697 MB / 1.64 GB, free: 58.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/3.934, allocations: 119.3 kB / 1.641 GB, free: 58.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/3.934, allocations: 62.34 kB / 1.641 GB, free: 58.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/3.934, allocations: 2.469 kB / 1.641 GB, free: 58.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003039/3.937, allocations: 1.55 MB / 1.642 GB, free: 58.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/3.937, allocations: 9.875 kB / 1.642 GB, free: 58.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/3.938, allocations: 261.5 kB / 1.642 GB, free: 58.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/3.939, allocations: 274.1 kB / 1.643 GB, free: 58.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/3.94, allocations: 1.081 MB / 1.644 GB, free: 57.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/3.943, allocations: 111.6 kB / 1.644 GB, free: 57.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/3.943, allocations: 62.64 kB / 1.644 GB, free: 57.56 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 29} Notification: Performance of prepare postOptimizeDAE: time 0.00051/3.943, allocations: 167.4 kB / 1.644 GB, free: 57.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/3.944, allocations: 143.2 kB / 1.644 GB, free: 57.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/3.946, allocations: 1.016 MB / 1.645 GB, free: 57.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/3.946, allocations: 12.64 kB / 1.645 GB, free: 57.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/3.946, allocations: 2.906 kB / 1.645 GB, free: 57.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001743/3.948, allocations: 0.9369 MB / 1.646 GB, free: 57.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/3.955, allocations: 2.854 MB / 1.649 GB, free: 56.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/3.955, allocations: 0 / 1.649 GB, free: 56.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/3.956, allocations: 225.5 kB / 1.649 GB, free: 56.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/3.956, allocations: 118.3 kB / 1.649 GB, free: 56.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/3.957, allocations: 20.75 kB / 1.649 GB, free: 56.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/3.96, allocations: 5.815 MB / 1.655 GB, free: 51.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/3.96, allocations: 0 / 1.655 GB, free: 51.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/3.963, allocations: 1.654 MB / 1.656 GB, free: 50.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009411/3.964, allocations: 341.9 kB / 1.657 GB, free: 50.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004522/3.965, allocations: 21.27 kB / 1.657 GB, free: 50.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/3.966, allocations: 76.45 kB / 1.657 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/3.966, allocations: 60.69 kB / 1.657 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/3.966, allocations: 32.16 kB / 1.657 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001378/3.968, allocations: 0.7436 MB / 1.658 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.452e-06/3.968, allocations: 0 / 1.658 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005093/3.973, allocations: 1.066 MB / 1.659 GB, free: 50.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (seg.pipFil.vol1.dynBal.medium.T,seg.pipFil.vol2.dynBal.medium.T,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 5 (seg.TBouCon.iSam,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/3.975, allocations: 0.7844 MB / 1.66 GB, free: 50.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00524/3.98, allocations: 2.232 MB / 1.662 GB, free: 50.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/3.98, allocations: 0 / 1.662 GB, free: 50.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/3.982, allocations: 0.9444 MB / 1.663 GB, free: 49.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/3.986, allocations: 0.6143 MB / 1.663 GB, free: 49.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/3.992, allocations: 2.971 MB / 1.666 GB, free: 49.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/3.993, allocations: 1.325 MB / 1.667 GB, free: 48.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002904/3.996, allocations: 0.4974 MB / 1.668 GB, free: 48.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/3.997, allocations: 98.34 kB / 1.668 GB, free: 48.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/3.997, allocations: 0 / 1.668 GB, free: 48.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.06437/4.061, allocations: 35.07 MB / 1.702 GB, free: 46.66 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)