Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.000939, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0056/0.0056, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.445/2.445, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 12.31 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2507, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002566/0.2533, allocations: 2.054 MB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2548, allocations: 0.9895 MB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.255, allocations: 7.938 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.2552, allocations: 47.69 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.2554, allocations: 71.42 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.2558, allocations: 139.7 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.2561, allocations: 270.8 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2562, allocations: 36.61 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2564, allocations: 99.52 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2566, allocations: 103.5 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.2566, allocations: 15.94 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.2569, allocations: 103.9 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.2569, allocations: 35.84 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2571, allocations: 137.1 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.2574, allocations: 299 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2574, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2574, allocations: 4 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2574, allocations: 0 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008853/0.2583, allocations: 0.5554 MB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2584, allocations: 8.031 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.2584, allocations: 42.73 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.2585, allocations: 36.64 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2589, allocations: 287 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.2589, allocations: 20.59 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.259, allocations: 20.38 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.2594, allocations: 217.1 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2594, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.2594, allocations: 4 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2594, allocations: 4 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.2598, allocations: 123.8 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.2608, allocations: 0.8721 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.2612, allocations: 215.9 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.2615, allocations: 98.59 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.2615, allocations: 3.938 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/0.2619, allocations: 211.3 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.2619, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008627/0.2628, allocations: 373.4 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.2629, allocations: 122.8 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2631, allocations: 246.4 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2631, allocations: 41.7 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.2632, allocations: 136.6 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.2633, allocations: 71.12 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.2633, allocations: 45.69 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2635, allocations: 338.8 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.2637, allocations: 92.75 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.264, allocations: 255.2 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.2646, allocations: 396.5 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2646, allocations: 8 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007539/0.2654, allocations: 418.5 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.2654, allocations: 34.33 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2654, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2655, allocations: 16 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2657, allocations: 71.83 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.2657, allocations: 15.88 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.266, allocations: 39.73 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.266, allocations: 20 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.2661, allocations: 171.9 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.2662, allocations: 27.62 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.2662, allocations: 25.69 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2663, allocations: 4 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.2663, allocations: 3.938 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2663, allocations: 4 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.2665, allocations: 261.5 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2665, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2667, allocations: 23.98 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.2667, allocations: 4 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2667, allocations: 15.92 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2667, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2667, allocations: 3.938 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.2676, allocations: 438.1 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.2676, allocations: 104.9 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.2677, allocations: 8 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2679, allocations: 20.22 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.2679, allocations: 27.91 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.268, allocations: 8 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001325/0.2681, allocations: 170 kB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2681, allocations: 4 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003977/0.2685, allocations: 87.92 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.2698, allocations: 1.045 MB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005943/0.2704, allocations: 299.6 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2704, allocations: 5.438 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.2707, allocations: 119.8 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2711, allocations: 52.66 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.275, allocations: 3.168 MB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2753, allocations: 0.741 MB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.2755, allocations: 50.94 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.2756, allocations: 71.41 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.2756, allocations: 0 / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.55/3.826, allocations: 6.04 MB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/3.826, allocations: 260.7 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/6.504, allocations: 0 / 1.081 GB, free: 13.18 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)