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.896/1.896, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001437/0.001437, allocations: 184.8 kB / 366.7 MB, free: 1.668 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.796/1.796, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0008617/0.0008618, allocations: 86.33 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.396e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7497, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.971, allocations: 141.3 MB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.9713, allocations: 92.58 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.9841, allocations: 3.342 MB / 1.115 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9841, allocations: 0 / 1.115 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.9842, allocations: 4 kB / 1.115 GB, free: 5.332 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.0003953/0.9846, allocations: 358.3 kB / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.9846, allocations: 12.03 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.9847, allocations: 79.28 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.985, allocations: 274.5 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.9851, allocations: 158.5 kB / 1.116 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.9852, allocations: 150.6 kB / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.447e-05/0.9852, allocations: 158.5 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.891e-05/0.9853, allocations: 101 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.9854, allocations: 75.28 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.9854, allocations: 150.6 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-05/0.9855, allocations: 150.6 kB / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.9858, allocations: 446.5 kB / 1.117 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.9859, allocations: 177 kB / 1.117 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.986, allocations: 81.45 kB / 1.117 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.986, allocations: 75.28 kB / 1.117 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.9861, allocations: 105.8 kB / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.9861, allocations: 4 kB / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.799e-05/0.9862, allocations: 37.61 kB / 1.117 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.9862, allocations: 51.41 kB / 1.117 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.9864, allocations: 115.5 kB / 1.117 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.9864, allocations: 25.7 kB / 1.117 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.9865, allocations: 96.03 kB / 1.117 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.9865, allocations: 0 / 1.117 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.9865, allocations: 0 / 1.117 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9866, allocations: 321.8 kB / 1.118 GB, free: 2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.9867, allocations: 7.938 kB / 1.118 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.9867, allocations: 8 kB / 1.118 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.9868, allocations: 26.69 kB / 1.118 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9869, allocations: 0 / 1.118 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001984/0.9871, allocations: 65.66 kB / 1.118 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.9871, allocations: 7.953 kB / 1.118 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.9871, allocations: 4 kB / 1.118 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.9871, allocations: 0 / 1.118 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.9871, allocations: 0 / 1.118 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9871, allocations: 0 / 1.118 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.9872, allocations: 7.969 kB / 1.118 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.9872, allocations: 0 / 1.118 GB, free: 1.871 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.0001092/0.9873, allocations: 180.3 kB / 1.118 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.858e-05/0.9874, allocations: 138.6 kB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.9875, allocations: 112.8 kB / 1.118 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/0.9875, allocations: 112.9 kB / 1.118 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.448e-05/0.9876, allocations: 185 kB / 1.119 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.134e-05/0.9877, allocations: 180.3 kB / 1.119 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/0.9878, allocations: 180.2 kB / 1.119 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.9881, allocations: 393.8 kB / 1.119 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.9881, allocations: 101 kB / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.9882, allocations: 111.8 kB / 1.12 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-05/0.9883, allocations: 184.2 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/0.9884, allocations: 180.3 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.148e-05/0.9884, allocations: 184.2 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-05/0.9885, allocations: 176.3 kB / 1.12 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.9887, allocations: 311.9 kB / 1.121 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.9888, allocations: 190 kB / 1.121 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.9889, allocations: 184.2 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.989, allocations: 105.8 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.9891, allocations: 180.2 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.9891, allocations: 107.6 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.9892, allocations: 96.53 kB / 1.121 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9892, allocations: 0 / 1.121 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002785/0.9895, allocations: 43.92 kB / 1.121 GB, free: 14.1 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 () * 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.0006342/0.9901, allocations: 0.8711 MB / 1.122 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.9902, allocations: 29.7 kB / 1.122 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9902, allocations: 0 / 1.122 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-06/0.9902, allocations: 8 kB / 1.122 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.9906, allocations: 0.5303 MB / 1.123 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.991, allocations: 195.7 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.9914, allocations: 0.6892 MB / 1.124 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.9914, allocations: 0 / 1.124 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.9915, allocations: 19.42 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9915, allocations: 4 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/1.012, allocations: 1.858 MB / 1.125 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.013, allocations: 172 kB / 1.126 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.742, allocations: 0 / 1.126 GB, free: 9.664 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)