Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.535/2.535, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 184.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 86.09 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.603e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8529, allocations: 115.3 MB / 0.9634 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/1.102, allocations: 140.2 MB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.102, allocations: 87.94 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02166/1.124, allocations: 3.337 MB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.124, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.124, allocations: 2.156 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00039/1.124, allocations: 358.3 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.124, allocations: 12.03 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/1.125, allocations: 80.48 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/1.125, allocations: 282.9 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/1.125, allocations: 150.6 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/1.125, allocations: 154.6 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.079e-05/1.125, allocations: 150.6 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/1.125, allocations: 105 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/1.125, allocations: 75.28 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/1.125, allocations: 154.6 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/1.125, allocations: 150.6 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/1.126, allocations: 446.4 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/1.126, allocations: 173.1 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/1.126, allocations: 80.14 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/1.126, allocations: 83.27 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/1.126, allocations: 112 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.195e-06/1.126, allocations: 224 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001035/1.126, allocations: 37.61 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.126, allocations: 59.28 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.126, allocations: 114.4 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.126, allocations: 25.7 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.641e-05/1.126, allocations: 96.05 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/1.126, allocations: 1.031 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.126, allocations: 0 / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.127, allocations: 318.8 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/1.127, allocations: 8 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/1.127, allocations: 4 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/1.127, allocations: 27.97 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.127, allocations: 0 / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002748/1.127, allocations: 61.62 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.127, allocations: 4 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/1.127, allocations: 3.984 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.127, allocations: 4 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/1.127, allocations: 3 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.127, allocations: 0 / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/1.127, allocations: 7.969 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/1.127, allocations: 0 / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.128, allocations: 190 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.349e-05/1.128, allocations: 138.6 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/1.128, allocations: 112.8 kB / 1.107 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.507e-05/1.128, allocations: 109 kB / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.784e-05/1.128, allocations: 177 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-05/1.128, allocations: 180.3 kB / 1.108 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.826e-05/1.128, allocations: 184.2 kB / 1.108 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/1.128, allocations: 397.8 kB / 1.108 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-05/1.128, allocations: 101 kB / 1.108 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/1.128, allocations: 112.9 kB / 1.108 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-05/1.128, allocations: 180.3 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/1.129, allocations: 180 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.127e-05/1.129, allocations: 184.2 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.39e-05/1.129, allocations: 180.3 kB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/1.129, allocations: 311.7 kB / 1.109 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/1.129, allocations: 186 kB / 1.11 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/1.129, allocations: 188.2 kB / 1.11 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/1.129, allocations: 105.8 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/1.129, allocations: 176.3 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/1.129, allocations: 104.9 kB / 1.11 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.62e-05/1.13, allocations: 105.3 kB / 1.11 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.13, allocations: 0 / 1.11 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004503/1.13, allocations: 35.94 kB / 1.11 GB, free: 5.625 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007642/1.131, allocations: 0.8633 MB / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001159/1.131, allocations: 37.7 kB / 1.111 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.131, allocations: 0 / 1.111 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-06/1.131, allocations: 7.938 kB / 1.111 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/1.131, allocations: 0.5373 MB / 1.112 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/1.132, allocations: 201.9 kB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.132, allocations: 0.6846 MB / 1.113 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.594e-05/1.132, allocations: 4 kB / 1.113 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/1.132, allocations: 11.44 kB / 1.113 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.132, allocations: 0 / 1.113 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/1.169, allocations: 1.858 MB / 1.114 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/1.169, allocations: 180.9 kB / 1.115 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.529, allocations: 0 / 1.115 GB, free: 1.188 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)