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.55/2.55, allocations: 284.7 MB / 297.2 MB, free: 6.379 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.001471/0.001471, allocations: 172.9 kB / 365.6 MB, free: 2.617 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.052/2.052, allocations: 205.1 MB / 0.624 GB, free: 8.215 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.001504/0.001503, allocations: 97.89 kB / 0.7371 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.426e-05, allocations: 4 kB / 0.8574 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8236, allocations: 115.3 MB / 0.97 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2788/1.102, allocations: 140.8 MB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/1.103, allocations: 87.94 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02294/1.126, allocations: 3.364 MB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/1.126, allocations: 0 / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.126, allocations: 3.469 kB / 1.111 GB, free: 8.188 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.0004343/1.126, allocations: 374.2 kB / 1.111 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.126, allocations: 12.03 kB / 1.111 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.197e-05/1.126, allocations: 105.8 kB / 1.111 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/1.127, allocations: 76.48 kB / 1.111 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/1.127, allocations: 271.2 kB / 1.112 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/1.127, allocations: 150.6 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/1.127, allocations: 158.6 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/1.127, allocations: 105 kB / 1.112 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/1.127, allocations: 79.22 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/1.127, allocations: 150.6 kB / 1.112 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/1.127, allocations: 150.6 kB / 1.112 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/1.127, allocations: 150.6 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/1.128, allocations: 471.3 kB / 1.113 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/1.128, allocations: 165.8 kB / 1.113 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/1.128, allocations: 84.08 kB / 1.113 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/1.128, allocations: 79.28 kB / 1.113 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/1.128, allocations: 110.1 kB / 1.113 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 4.499e-06/1.128, allocations: 0 / 1.113 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/1.128, allocations: 41.55 kB / 1.113 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/1.128, allocations: 130.7 kB / 1.114 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/1.128, allocations: 119.7 kB / 1.114 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/1.128, allocations: 25.7 kB / 1.114 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/1.129, allocations: 88.05 kB / 1.114 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/1.129, allocations: 8 kB / 1.114 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/1.129, allocations: 4 kB / 1.114 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.129, allocations: 318.9 kB / 1.114 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/1.129, allocations: 11.94 kB / 1.114 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/1.129, allocations: 0 / 1.114 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/1.129, allocations: 11.98 kB / 1.114 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.129, allocations: 0 / 1.114 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001585/1.129, allocations: 49.69 kB / 1.114 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.129, allocations: 4 kB / 1.114 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.129, allocations: 64 / 1.114 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.129, allocations: 4 kB / 1.114 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/1.129, allocations: 0 / 1.114 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.129, allocations: 4 kB / 1.114 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/1.129, allocations: 4.469 kB / 1.114 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/1.129, allocations: 0 / 1.114 GB, free: 4.516 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.0001252/1.129, allocations: 180.2 kB / 1.114 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/1.129, allocations: 108.9 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/1.129, allocations: 120.6 kB / 1.115 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/1.13, allocations: 180.2 kB / 1.115 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-05/1.13, allocations: 179.8 kB / 1.115 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-05/1.13, allocations: 176.3 kB / 1.115 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/1.13, allocations: 421.1 kB / 1.116 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/1.13, allocations: 104.9 kB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/1.13, allocations: 112.9 kB / 1.116 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.216e-05/1.13, allocations: 176.3 kB / 1.116 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/1.13, allocations: 176.3 kB / 1.116 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-05/1.13, allocations: 180.2 kB / 1.116 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.486e-05/1.13, allocations: 188.2 kB / 1.116 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/1.131, allocations: 307.7 kB / 1.117 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/1.131, allocations: 186 kB / 1.117 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/1.131, allocations: 196.2 kB / 1.117 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/1.131, allocations: 104.9 kB / 1.117 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/1.131, allocations: 181.1 kB / 1.117 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/1.131, allocations: 107 kB / 1.117 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001094/1.131, allocations: 105.3 kB / 1.118 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.131, allocations: 0 / 1.118 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004424/1.132, allocations: 41.81 kB / 1.118 GB, free: 0.8438 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.0008222/1.133, allocations: 0.8775 MB / 1.118 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001387/1.133, allocations: 33.7 kB / 1.118 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.133, allocations: 0 / 1.118 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/1.133, allocations: 4 kB / 1.118 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/1.133, allocations: 0.5303 MB / 1.119 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/1.134, allocations: 200.1 kB / 1.119 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/1.134, allocations: 0.6809 MB / 1.12 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.94e-05/1.134, allocations: 7.984 kB / 1.12 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/1.134, allocations: 19.44 kB / 1.12 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.543e-06/1.134, allocations: 0 / 1.12 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/1.157, allocations: 2.379 MB / 1.122 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/1.157, allocations: 187.1 kB / 1.122 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/3.552, allocations: 0 / 1.122 GB, free: 12.05 MB / 0.7292 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)