Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 173 kB / 316.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 90.48 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.984e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1949, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8556/1.05, allocations: 362 MB / 1.239 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.051, allocations: 95.12 kB / 1.239 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4492/1.5, allocations: 15.95 MB / 1.255 GB, free: 312.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.363e-06/1.5, allocations: 4 kB / 1.255 GB, free: 312.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.52e-06/1.5, allocations: 0.9375 kB / 1.255 GB, free: 312.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00035/1.5, allocations: 372.8 kB / 1.255 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.5, allocations: 9.938 kB / 1.255 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/1.5, allocations: 6.344 kB / 1.255 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/1.501, allocations: 167.4 kB / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.501, allocations: 0.6875 kB / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/1.501, allocations: 0.5938 kB / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.43e-05/1.501, allocations: 4.688 kB / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.337e-05/1.501, allocations: 34.44 kB / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/1.501, allocations: 0 / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.501, allocations: 0.7031 kB / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.501, allocations: 4.734 kB / 1.255 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/1.501, allocations: 139.7 kB / 1.255 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/1.501, allocations: 27.75 kB / 1.255 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/1.501, allocations: 7.297 kB / 1.255 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/1.501, allocations: 99.44 kB / 1.255 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.501, allocations: 39.23 kB / 1.255 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.501, allocations: 0 / 1.255 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/1.501, allocations: 48.09 kB / 1.255 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/1.502, allocations: 52.72 kB / 1.256 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/1.502, allocations: 94.36 kB / 1.256 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/1.502, allocations: 30.48 kB / 1.256 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/1.502, allocations: 81.2 kB / 1.256 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/1.502, allocations: 5.828 kB / 1.256 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/1.502, allocations: 0 / 1.256 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/1.502, allocations: 316.6 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/1.502, allocations: 1.812 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/1.502, allocations: 2.875 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/1.502, allocations: 14.86 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.502, allocations: 4.719 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/1.502, allocations: 54.36 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.502, allocations: 4.844 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/1.502, allocations: 0 / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/1.502, allocations: 1.156 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/1.502, allocations: 8.5 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/1.502, allocations: 0 / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/1.502, allocations: 5.156 kB / 1.256 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/1.502, allocations: 0 / 1.256 GB, free: 310.9 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 4.249e-05/1.502, allocations: 106.3 kB / 1.256 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001112/1.502, allocations: 55.67 kB / 1.256 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/1.502, allocations: 1.312 kB / 1.256 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/1.502, allocations: 58.38 kB / 1.256 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.502, allocations: 0.8438 kB / 1.256 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.502, allocations: 1.078 kB / 1.256 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/1.502, allocations: 1.094 kB / 1.256 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.828e-05/1.503, allocations: 128.3 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.503, allocations: 3.953 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/1.503, allocations: 12.08 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.503, allocations: 1.578 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/1.503, allocations: 4.656 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.503, allocations: 0 / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.503, allocations: 1.594 kB / 1.256 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/1.503, allocations: 69.61 kB / 1.257 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/1.503, allocations: 88.2 kB / 1.257 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/1.503, allocations: 4.656 kB / 1.257 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/1.503, allocations: 0.6094 kB / 1.257 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/1.503, allocations: 2.234 kB / 1.257 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/1.503, allocations: 1.281 kB / 1.257 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.222e-05/1.503, allocations: 83.44 kB / 1.257 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.503, allocations: 0 / 1.257 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002299/1.503, allocations: 32.14 kB / 1.257 GB, free: 310.3 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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.0004483/1.504, allocations: 0.6661 MB / 1.257 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.871e-05/1.504, allocations: 11.61 kB / 1.257 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.504, allocations: 1.031 kB / 1.257 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/1.504, allocations: 3.438 kB / 1.257 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/1.504, allocations: 10.12 kB / 1.257 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/1.504, allocations: 96.62 kB / 1.258 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/1.504, allocations: 0.6829 MB / 1.258 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.962e-05/1.504, allocations: 6.594 kB / 1.258 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/1.504, allocations: 8.969 kB / 1.258 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/1.504, allocations: 0.625 kB / 1.258 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/1.524, allocations: 1.393 MB / 1.26 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.524, allocations: 181.2 kB / 1.26 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.379/2.903, allocations: 8.438 kB / 1.26 GB, free: 308.5 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)