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.0008715/0.0008717, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001078/0.001078, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.56/2.56, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 8 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7423, allocations: 146.8 MB / 0.9812 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003123/0.7455, allocations: 2.598 MB / 0.9837 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.748, allocations: 1.958 MB / 0.9856 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.7482, allocations: 4 kB / 0.9856 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.7493, allocations: 430.1 kB / 0.986 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.7495, allocations: 135.1 kB / 0.9862 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.7496, allocations: 35.95 kB / 0.9862 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.75, allocations: 414 kB / 0.9866 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.7503, allocations: 115 kB / 0.9867 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.7504, allocations: 131.4 kB / 0.9868 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.7507, allocations: 167.2 kB / 0.987 GB, free: 380 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.7507, allocations: 20 kB / 0.987 GB, free: 360 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.895e-05/0.7508, allocations: 20 kB / 0.987 GB, free: 340 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.796e-05/0.7509, allocations: 79.67 kB / 0.9871 GB, free: 260 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.7509, allocations: 105.5 kB / 0.9872 GB, free: 148 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.7513, allocations: 438.7 kB / 0.9876 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7513, allocations: 0 / 0.9876 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7513, allocations: 0 / 0.9876 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.7514, allocations: 0 / 0.9876 GB, free: 15.71 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.0008754/0.7522, allocations: 0.6462 MB / 0.9883 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7523, allocations: 12.03 kB / 0.9883 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.7523, allocations: 50.55 kB / 0.9883 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.7524, allocations: 51.38 kB / 0.9884 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.7529, allocations: 361.1 kB / 0.9887 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7529, allocations: 16.44 kB / 0.9887 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.753, allocations: 24 kB / 0.9888 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.7534, allocations: 203.2 kB / 0.9889 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.7534, allocations: 0 / 0.9889 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.7534, allocations: 8 kB / 0.989 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7534, allocations: 4 kB / 0.989 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.7538, allocations: 185.6 kB / 0.9891 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.7549, allocations: 0.8701 MB / 0.99 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.7552, allocations: 162.5 kB / 0.9901 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.7554, allocations: 113.8 kB / 0.9902 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.7555, allocations: 4 kB / 0.9903 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.7555, allocations: 38.56 kB / 0.9903 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.7555, allocations: 0 / 0.9903 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0005918/0.7561, allocations: 270.9 kB / 0.9905 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.7562, allocations: 51.41 kB / 0.9906 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.7566, allocations: 425.6 kB / 0.991 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.7566, allocations: 25.7 kB / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.7568, allocations: 208.2 kB / 0.9912 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.7568, allocations: 63.09 kB / 0.9913 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.7569, allocations: 8 kB / 0.9913 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.757, allocations: 350.7 kB / 0.9916 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.7571, allocations: 55.97 kB / 0.9917 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.7573, allocations: 65.17 kB / 0.9917 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.7574, allocations: 69.02 kB / 0.9918 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7574, allocations: 0 / 0.9918 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003591/0.7578, allocations: 219 kB / 0.992 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7578, allocations: 9.547 kB / 0.992 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7578, allocations: 0 / 0.992 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7579, allocations: 7.891 kB / 0.992 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.7582, allocations: 55.91 kB / 0.9921 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.7582, allocations: 7.938 kB / 0.9921 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.7583, allocations: 27.83 kB / 0.9921 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.7584, allocations: 4 kB / 0.9921 GB, free: 10.86 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.0001643/0.7585, allocations: 161.8 kB / 0.9923 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.7586, allocations: 39.53 kB / 0.9923 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.7587, allocations: 39.59 kB / 0.9924 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7587, allocations: 3.953 kB / 0.9924 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7587, allocations: 4 kB / 0.9924 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7587, allocations: 0 / 0.9924 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.7591, allocations: 381.2 kB / 0.9927 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7592, allocations: 7.938 kB / 0.9927 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.7594, allocations: 51.97 kB / 0.9928 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7594, allocations: 0 / 0.9928 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.7594, allocations: 4 kB / 0.9928 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.7594, allocations: 0 / 0.9928 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7594, allocations: 3.953 kB / 0.9928 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.76, allocations: 398.9 kB / 0.9932 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.7601, allocations: 116.7 kB / 0.9933 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.7602, allocations: 8 kB / 0.9933 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.7603, allocations: 11.98 kB / 0.9933 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.7604, allocations: 15.94 kB / 0.9933 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.7604, allocations: 4 kB / 0.9933 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003016/0.7607, allocations: 303.1 kB / 0.9936 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7607, allocations: 0 / 0.9936 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000306/0.761, allocations: 71.84 kB / 0.9937 GB, free: 9.176 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.0008688/0.7619, allocations: 0.9396 MB / 0.9946 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.7623, allocations: 150.4 kB / 0.9947 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7623, allocations: 4.062 kB / 0.9947 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.7624, allocations: 87.89 kB / 0.9948 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.763, allocations: 94.94 kB / 0.9949 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.7663, allocations: 2.21 MB / 0.9971 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.7667, allocations: 0.7953 MB / 0.9979 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000133/0.7668, allocations: 34.95 kB / 0.9979 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.767, allocations: 123.3 kB / 0.998 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.767, allocations: 0 / 0.998 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.7851, allocations: 7.154 MB / 1.005 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.7854, allocations: 262.5 kB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.593, allocations: 4 kB / 1.005 GB, free: 13.45 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