Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001381/0.001381, allocations: 177 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 0.6366 GB, free: 8.605 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.001371/0.001371, allocations: 90.83 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6679/0.9127, allocations: 142.1 MB / 1.127 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.913, allocations: 90.42 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.9254, allocations: 3.372 MB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9255, allocations: 7.828 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9255, allocations: 0 / 1.131 GB, free: 30.69 MB / 0.7292 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.0003356/0.9258, allocations: 383 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.9259, allocations: 11.5 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.9259, allocations: 105.8 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.926, allocations: 84.03 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.9262, allocations: 265.7 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.9262, allocations: 155.4 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.9262, allocations: 154 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.115e-05/0.9263, allocations: 101 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.9263, allocations: 75.98 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.9263, allocations: 150.6 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.9264, allocations: 158.6 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.9264, allocations: 158.5 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.9266, allocations: 464.6 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.934e-05/0.9266, allocations: 169.5 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.9267, allocations: 80.78 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.9267, allocations: 110.7 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.9267, allocations: 0 / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.42e-05/0.9268, allocations: 32.11 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.9268, allocations: 126.7 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.9269, allocations: 135.2 kB / 1.133 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.9269, allocations: 25.7 kB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.927, allocations: 91.47 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.927, allocations: 0 / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.927, allocations: 0 / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.927, allocations: 319.5 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.9271, allocations: 4 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.9271, allocations: 7.328 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.9271, allocations: 4 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9271, allocations: 0 / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.9272, allocations: 53.5 kB / 1.134 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.9272, allocations: 16.12 kB / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.9273, allocations: 0 / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9273, allocations: 3.938 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.9273, allocations: 0 / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9273, allocations: 0 / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.9273, allocations: 4 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.9273, allocations: 0.6562 kB / 1.134 GB, free: 27.14 MB / 0.7292 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 () * Number of clocked 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 5.978e-05/0.9274, allocations: 181.1 kB / 1.134 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.9274, allocations: 116.8 kB / 1.134 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.9275, allocations: 121.5 kB / 1.134 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.9275, allocations: 176.3 kB / 1.134 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/0.9275, allocations: 180.2 kB / 1.135 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.9276, allocations: 180.3 kB / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.9277, allocations: 417 kB / 1.135 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.9277, allocations: 109 kB / 1.135 GB, free: 25.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.9278, allocations: 109 kB / 1.135 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.48e-05/0.9278, allocations: 187.4 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.9278, allocations: 176.3 kB / 1.136 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.346e-05/0.9279, allocations: 181 kB / 1.136 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-05/0.9279, allocations: 189 kB / 1.136 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.928, allocations: 303.1 kB / 1.136 GB, free: 24.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.9281, allocations: 182 kB / 1.137 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.9281, allocations: 195.5 kB / 1.137 GB, free: 24.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.9282, allocations: 101 kB / 1.137 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.9282, allocations: 181.3 kB / 1.137 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.9282, allocations: 105.5 kB / 1.137 GB, free: 23.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.9283, allocations: 108.1 kB / 1.137 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9283, allocations: 0.75 kB / 1.137 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000303/0.9286, allocations: 39.94 kB / 1.137 GB, free: 23.5 MB / 0.7292 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 () * Number of clocked 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.0003973/0.929, allocations: 0.8685 MB / 1.138 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.9291, allocations: 41.64 kB / 1.138 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9291, allocations: 0 / 1.138 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.9291, allocations: 4.062 kB / 1.138 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.9294, allocations: 0.5317 MB / 1.139 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.9298, allocations: 459.6 kB / 1.139 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.93, allocations: 0.6871 MB / 1.14 GB, free: 20.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.814e-05/0.93, allocations: 4 kB / 1.14 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.93, allocations: 11.44 kB / 1.14 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2e-07/0.93, allocations: 4 kB / 1.14 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.944, allocations: 2.299 MB / 1.142 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.9443, allocations: 217.6 kB / 1.142 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.612, allocations: 4 kB / 1.142 GB, free: 19.38 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)