Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001766/0.001766, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.609/2.609, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.992/4.992, allocations: 409.2 MB / 0.6838 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.00101, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63/1.631, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005211/1.636, allocations: 2.427 MB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004277/1.641, allocations: 1.916 MB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/1.641, allocations: 4 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/1.643, allocations: 442.5 kB / 0.9856 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005296/1.644, allocations: 151.6 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/1.644, allocations: 31.97 kB / 0.9857 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007544/1.645, allocations: 319.3 kB / 0.986 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/1.645, allocations: 126.9 kB / 0.9862 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/1.646, allocations: 131.4 kB / 0.9863 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/1.646, allocations: 155.3 kB / 0.9864 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/1.646, allocations: 16 kB / 0.9865 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/1.646, allocations: 20 kB / 0.9865 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/1.646, allocations: 79.69 kB / 0.9866 GB, free: 500 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/1.646, allocations: 101.5 kB / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006737/1.647, allocations: 438.7 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.647, allocations: 0 / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.587e-06/1.647, allocations: 0 / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.647, allocations: 0 / 0.9871 GB, free: 15.95 MB / 0.7481 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.001568/1.649, allocations: 0.6501 MB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 9.503e-05/1.649, allocations: 8.031 kB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/1.649, allocations: 58.55 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/1.649, allocations: 51.31 kB / 0.9878 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/1.65, allocations: 353.2 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/1.65, allocations: 20.44 kB / 0.9882 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/1.65, allocations: 20 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/1.651, allocations: 203.2 kB / 0.9884 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.651, allocations: 0 / 0.9884 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/1.651, allocations: 12 kB / 0.9884 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/1.651, allocations: 4 kB / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/1.651, allocations: 185.6 kB / 0.9886 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.654, allocations: 0.8701 MB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/1.654, allocations: 162.4 kB / 0.9896 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/1.654, allocations: 12 kB / 0.9896 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/1.654, allocations: 30.56 kB / 0.9896 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 3.567e-06/1.654, allocations: 0 / 0.9896 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001038/1.655, allocations: 266.8 kB / 0.9899 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/1.655, allocations: 55.41 kB / 0.9899 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/1.656, allocations: 421.6 kB / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/1.656, allocations: 29.7 kB / 0.9904 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/1.656, allocations: 204.2 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/1.657, allocations: 63.09 kB / 0.9906 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/1.657, allocations: 4 kB / 0.9906 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003697/1.657, allocations: 350.8 kB / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/1.657, allocations: 63.91 kB / 0.991 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/1.658, allocations: 59.97 kB / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/1.658, allocations: 69.53 kB / 0.9911 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.658, allocations: 0 / 0.9911 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006545/1.659, allocations: 214.2 kB / 0.9913 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/1.659, allocations: 9.719 kB / 0.9913 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/1.659, allocations: 3.984 kB / 0.9914 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/1.659, allocations: 7.953 kB / 0.9914 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/1.659, allocations: 59.91 kB / 0.9914 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.659, allocations: 7.984 kB / 0.9914 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/1.659, allocations: 23.83 kB / 0.9914 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.659, allocations: 8 kB / 0.9915 GB, free: 11.21 MB / 0.7481 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 (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 0.0003137/1.66, allocations: 165.8 kB / 0.9916 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/1.66, allocations: 35.53 kB / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/1.66, allocations: 43.58 kB / 0.9917 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/1.66, allocations: 4 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.66, allocations: 3.953 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.66, allocations: 0 / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/1.661, allocations: 369.4 kB / 0.992 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.661, allocations: 0 / 0.992 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/1.661, allocations: 63.84 kB / 0.9921 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.661, allocations: 0 / 0.9921 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.661, allocations: 8 kB / 0.9921 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.661, allocations: 0 / 0.9921 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.661, allocations: 3.938 kB / 0.9921 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.662, allocations: 398.8 kB / 0.9925 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/1.663, allocations: 120.6 kB / 0.9926 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/1.663, allocations: 4 kB / 0.9926 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/1.663, allocations: 15.98 kB / 0.9926 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/1.663, allocations: 20 kB / 0.9927 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.663, allocations: 4 kB / 0.9927 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005343/1.664, allocations: 299.1 kB / 0.9929 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/1.664, allocations: 4 kB / 0.9929 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004989/1.664, allocations: 67.84 kB / 0.993 GB, free: 9.52 MB / 0.7481 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 () * Number of clocked 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.001433/1.665, allocations: 0.9332 MB / 0.9939 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005502/1.666, allocations: 154.2 kB / 0.9941 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.666, allocations: 0 / 0.9941 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/1.666, allocations: 83.89 kB / 0.9941 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/1.667, allocations: 90.16 kB / 0.9942 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/1.673, allocations: 2.17 MB / 0.9964 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/1.673, allocations: 0.807 MB / 0.9971 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002678/1.674, allocations: 42.89 kB / 0.9972 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/1.674, allocations: 115.4 kB / 0.9973 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of SimCode: time 2.124e-06/1.674, allocations: 0 / 0.9973 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/1.708, allocations: 7.154 MB / 1.004 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000369/1.709, allocations: 254.9 kB / 1.005 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/4.858, allocations: 0 / 1.005 GB, free: 13.85 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat