Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7179/0.7179, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009416/0.0009418, allocations: 181.3 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007716/0.0007716, allocations: 93.45 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001883/0.001884, allocations: 272.5 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.358e-05, allocations: 4 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.362, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4797, allocations: 117.1 MB / 0.8788 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.48, allocations: 111.9 kB / 0.8789 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04819/0.5282, allocations: 18.22 MB / 0.8967 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5282, allocations: 0 / 0.8967 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.5283, allocations: 12 kB / 0.8967 GB, free: 5.031 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006706/0.5289, allocations: 0.5732 MB / 0.8972 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.529, allocations: 16.02 kB / 0.8973 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.071e-05/0.5291, allocations: 54.55 kB / 0.8973 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.5291, allocations: 47.88 kB / 0.8974 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.5296, allocations: 351.5 kB / 0.8977 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.5296, allocations: 16.44 kB / 0.8977 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.5297, allocations: 24 kB / 0.8977 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.53, allocations: 183.3 kB / 0.8979 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.53, allocations: 4.156 kB / 0.8979 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.5301, allocations: 12 kB / 0.8979 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5301, allocations: 7.938 kB / 0.8979 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.5303, allocations: 137.7 kB / 0.8981 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5315, allocations: 0.8663 MB / 0.8989 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.5317, allocations: 146.7 kB / 0.899 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.5319, allocations: 104.8 kB / 0.8991 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.5319, allocations: 0 / 0.8991 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.532, allocations: 34.56 kB / 0.8992 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.532, allocations: 0 / 0.8992 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0003374/0.5323, allocations: 174.9 kB / 0.8993 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.5324, allocations: 51.41 kB / 0.8994 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.5328, allocations: 370.9 kB / 0.8998 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.5328, allocations: 25.7 kB / 0.8998 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5329, allocations: 208.2 kB / 0.9 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.533, allocations: 63.09 kB / 0.9 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.533, allocations: 4 kB / 0.9 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5331, allocations: 354.8 kB / 0.9004 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.5332, allocations: 40 kB / 0.9004 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.5333, allocations: 44 kB / 0.9005 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.5334, allocations: 57.31 kB / 0.9005 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5334, allocations: 0 / 0.9005 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002539/0.5337, allocations: 186.5 kB / 0.9007 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.5337, allocations: 4 kB / 0.9007 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5337, allocations: 0 / 0.9007 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5337, allocations: 3.938 kB / 0.9007 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.534, allocations: 59.97 kB / 0.9008 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.534, allocations: 4 kB / 0.9008 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.5342, allocations: 19.83 kB / 0.9008 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.5342, allocations: 8 kB / 0.9008 GB, free: 0.5938 MB / 0.5573 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 (20): * Single equations (assignments): 20 * 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 8.292e-05/0.5343, allocations: 116.9 kB / 0.9009 GB, free: 484 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.5344, allocations: 35.62 kB / 0.9009 GB, free: 448 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.5344, allocations: 43.36 kB / 0.901 GB, free: 404 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.5345, allocations: 4 kB / 0.901 GB, free: 400 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5345, allocations: 3.938 kB / 0.901 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5345, allocations: 0 / 0.901 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.5349, allocations: 373.3 kB / 0.9013 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.5349, allocations: 3.953 kB / 0.9013 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.5352, allocations: 59.95 kB / 0.9014 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5352, allocations: 0 / 0.9014 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.5352, allocations: 8 kB / 0.9014 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5352, allocations: 0 / 0.9014 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5352, allocations: 4 kB / 0.9014 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.5356, allocations: 340.2 kB / 0.9017 GB, free: 15.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.5357, allocations: 124.5 kB / 0.9018 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.5358, allocations: 4 kB / 0.9019 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.536, allocations: 16.05 kB / 0.9019 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.536, allocations: 15.98 kB / 0.9019 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.536, allocations: 0 / 0.9019 GB, free: 15.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003128/0.5363, allocations: 301.2 kB / 0.9022 GB, free: 15.08 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5364, allocations: 0 / 0.9022 GB, free: 15.08 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003467/0.5367, allocations: 79.84 kB / 0.9022 GB, free: 15 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008816/0.5376, allocations: 1.036 MB / 0.9033 GB, free: 13.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.5378, allocations: 121.2 kB / 0.9034 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5378, allocations: 4 kB / 0.9034 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.416e-05/0.5379, allocations: 63.94 kB / 0.9034 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.5384, allocations: 84.02 kB / 0.9035 GB, free: 13.69 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.5395, allocations: 0.6077 MB / 0.9041 GB, free: 13.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.5398, allocations: 0.8031 MB / 0.9049 GB, free: 12.22 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.54, allocations: 42.94 kB / 0.9049 GB, free: 12.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.5401, allocations: 113.1 kB / 0.905 GB, free: 12.07 MB / 0.573 GB Notification: Performance of SimCode: time 2.8e-07/0.5401, allocations: 0 / 0.905 GB, free: 12.07 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.5612, allocations: 9.376 MB / 0.9142 GB, free: 2.996 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.5614, allocations: 234.4 kB / 0.9144 GB, free: 2.762 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.512, allocations: 0 / 0.9144 GB, free: 2.762 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)