Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.001195/0.0012, allocations: 86.48 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.001513/0.001513, 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.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.458/2.458, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003216, allocations: 12 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6455, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002182/0.6477, allocations: 1.885 MB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002545/0.6502, allocations: 2.172 MB / 0.9851 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.6504, allocations: 4 kB / 0.9851 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.6514, allocations: 392.9 kB / 0.9855 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.6516, allocations: 87.48 kB / 0.9856 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.6519, allocations: 83.89 kB / 0.9857 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.6526, allocations: 0.7444 MB / 0.9864 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.6527, allocations: 48.12 kB / 0.9864 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.653, allocations: 239.5 kB / 0.9867 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.6534, allocations: 339.2 kB / 0.987 GB, free: 268 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.6535, allocations: 28 kB / 0.987 GB, free: 240 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.6536, allocations: 28 kB / 0.987 GB, free: 212 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.6538, allocations: 203.5 kB / 0.9872 GB, free: 8 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.6539, allocations: 101.6 kB / 0.9873 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.6543, allocations: 0.5531 MB / 0.9879 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6544, allocations: 4 kB / 0.9879 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6544, allocations: 0 / 0.9879 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.6544, allocations: 0 / 0.9879 GB, free: 15.34 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001988/0.6564, allocations: 0.8785 MB / 0.9887 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6564, allocations: 15.97 kB / 0.9888 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.6565, allocations: 42.56 kB / 0.9888 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.6566, allocations: 47.52 kB / 0.9888 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.658, allocations: 0.5133 MB / 0.9893 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.658, allocations: 28 kB / 0.9894 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.6581, allocations: 36 kB / 0.9894 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.6584, allocations: 205.5 kB / 0.9896 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6585, allocations: 0 / 0.9896 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.6585, allocations: 4 kB / 0.9896 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.6585, allocations: 4 kB / 0.9896 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.6588, allocations: 183.8 kB / 0.9898 GB, free: 13.28 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/0.6628, allocations: 1.482 MB / 0.9912 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.6645, allocations: 0.5885 MB / 0.9918 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.6648, allocations: 144.8 kB / 0.9919 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.6648, allocations: 4 kB / 0.9919 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.6648, allocations: 34.56 kB / 0.992 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.6648, allocations: 0 / 0.992 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001052/0.6659, allocations: 0.5517 MB / 0.9925 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.6659, allocations: 59.41 kB / 0.9926 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.6663, allocations: 405.2 kB / 0.993 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.6664, allocations: 37.7 kB / 0.993 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.6665, allocations: 161.2 kB / 0.9932 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.6667, allocations: 94.66 kB / 0.9932 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.6667, allocations: 12 kB / 0.9933 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6668, allocations: 350.8 kB / 0.9936 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.6674, allocations: 337.1 kB / 0.9939 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.6679, allocations: 405.5 kB / 0.9943 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.6685, allocations: 404.8 kB / 0.9947 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6685, allocations: 0 / 0.9947 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00143/0.67, allocations: 0.917 MB / 0.9956 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.67, allocations: 33.7 kB / 0.9956 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.67, allocations: 0 / 0.9956 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.6702, allocations: 28.84 kB / 0.9956 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/0.671, allocations: 155.7 kB / 0.9958 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.6721, allocations: 1.327 MB / 0.9971 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.6735, allocations: 111.4 kB / 0.9972 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.6736, allocations: 23.98 kB / 0.9972 GB, free: 5.352 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.6738, allocations: 190.2 kB / 0.9974 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.674, allocations: 31.53 kB / 0.9974 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.6741, allocations: 43.47 kB / 0.9975 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6741, allocations: 3.953 kB / 0.9975 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6741, allocations: 0 / 0.9975 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6741, allocations: 7.938 kB / 0.9975 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000564/0.6747, allocations: 465 kB / 0.9979 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6747, allocations: 0 / 0.9979 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.6749, allocations: 43.97 kB / 0.998 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.814e-05/0.675, allocations: 28.89 kB / 0.998 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.6751, allocations: 15.98 kB / 0.998 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009128/0.676, allocations: 1.323 MB / 0.9993 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.676, allocations: 0 / 0.9993 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.6769, allocations: 0.5983 MB / 0.9999 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.677, allocations: 112.6 kB / 1 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.677, allocations: 11.95 kB / 1 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.6776, allocations: 31.89 kB / 1 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.6777, allocations: 15.97 kB / 1 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.6777, allocations: 11.94 kB / 1 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002758/0.678, allocations: 259.2 kB / 1 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.678, allocations: 4 kB / 1 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006664/0.6787, allocations: 232 kB / 1.001 GB, free: 1.719 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/0.68, allocations: 1.164 MB / 1.002 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.6812, allocations: 0.7386 MB / 1.002 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6812, allocations: 4 kB / 1.002 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.6816, allocations: 262.5 kB / 1.003 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.6822, allocations: 83.86 kB / 1.003 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/0.6877, allocations: 3.756 MB / 1.006 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.6881, allocations: 0.8151 MB / 1.007 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.6885, allocations: 115.1 kB / 1.007 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.6887, allocations: 123.4 kB / 1.007 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/0.6887, allocations: 0 / 1.007 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.7133, allocations: 11.34 MB / 1.018 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.7135, allocations: 253.3 kB / 1.019 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.765, allocations: 0 / 1.019 GB, free: 15.17 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat does not exist to compare? outputFormat=mat