Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.0009861/0.0009861, allocations: 99.62 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.0009336/0.0009338, allocations: 177.3 kB / 15.95 MB, free: 216 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.3 MB / 0.6653 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 12 kB / 0.8147 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8697, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001359/0.8712, allocations: 1.053 MB / 0.9547 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.8726, allocations: 0.9875 MB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.8726, allocations: 1.219 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.8726, allocations: 3.938 kB / 0.9556 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.8727, allocations: 4.984 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.8732, allocations: 147.1 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.8732, allocations: 24.61 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.8733, allocations: 2.375 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.8734, allocations: 13.92 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.8734, allocations: 21.06 kB / 0.9559 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.8735, allocations: 2.656 kB / 0.9559 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.874, allocations: 396.5 kB / 0.9562 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.874, allocations: 5 kB / 0.9562 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.8741, allocations: 33.27 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.8743, allocations: 138 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.8743, allocations: 0 / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8743, allocations: 0 / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8743, allocations: 3.938 kB / 0.9564 GB, free: 6.023 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003629/0.8747, allocations: 381.1 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.8747, allocations: 10.47 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.8748, allocations: 30.56 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.8748, allocations: 9.266 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.8749, allocations: 161.6 kB / 0.957 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.8749, allocations: 5.359 kB / 0.957 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.8749, allocations: 9.375 kB / 0.957 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.875, allocations: 39.36 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8751, allocations: 0 / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8751, allocations: 1.031 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8751, allocations: 7.922 kB / 0.957 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.8751, allocations: 16.89 kB / 0.957 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.8753, allocations: 160.3 kB / 0.9572 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.8754, allocations: 41.45 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007542/0.8761, allocations: 0.9837 MB / 0.9582 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.8762, allocations: 39.66 kB / 0.9582 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.8762, allocations: 0 / 0.9582 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001731/0.8764, allocations: 59.75 kB / 0.9583 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.8764, allocations: 52.53 kB / 0.9583 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.8765, allocations: 106.1 kB / 0.9584 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.8765, allocations: 25.7 kB / 0.9585 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.8765, allocations: 90.19 kB / 0.9586 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.8765, allocations: 8.953 kB / 0.9586 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.8765, allocations: 4.875 kB / 0.9586 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.8766, allocations: 319.9 kB / 0.9589 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.8766, allocations: 3.969 kB / 0.9589 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.8767, allocations: 7.703 kB / 0.9589 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/0.8767, allocations: 12.59 kB / 0.9589 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8767, allocations: 1.156 kB / 0.9589 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.226e-05/0.8768, allocations: 49.36 kB / 0.9589 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8768, allocations: 8.234 kB / 0.959 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.8768, allocations: 0 / 0.959 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.8768, allocations: 5.734 kB / 0.959 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.8769, allocations: 11.34 kB / 0.959 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.877, allocations: 320 / 0.959 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.877, allocations: 1.219 kB / 0.959 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.877, allocations: 1.094 kB / 0.959 GB, free: 3.156 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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 6.528e-05/0.8771, allocations: 120.1 kB / 0.9591 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-06/0.8771, allocations: 5.016 kB / 0.9591 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.8772, allocations: 68.34 kB / 0.9592 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8772, allocations: 4 kB / 0.9592 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8772, allocations: 5.25 kB / 0.9592 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8772, allocations: 0 / 0.9592 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.273e-05/0.8773, allocations: 166.2 kB / 0.9593 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8773, allocations: 0 / 0.9593 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.8774, allocations: 16.12 kB / 0.9593 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8774, allocations: 0 / 0.9593 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.8774, allocations: 0 / 0.9593 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8774, allocations: 0 / 0.9593 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8774, allocations: 6.047 kB / 0.9593 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.006e-05/0.8775, allocations: 84.2 kB / 0.9594 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.8776, allocations: 86 kB / 0.9595 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.8776, allocations: 1.062 kB / 0.9595 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.8776, allocations: 0 / 0.9595 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.8776, allocations: 2.281 kB / 0.9595 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.8777, allocations: 1.062 kB / 0.9595 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.8777, allocations: 92.64 kB / 0.9596 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8777, allocations: 0 / 0.9596 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002418/0.8779, allocations: 40.34 kB / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0003958/0.8783, allocations: 0.6668 MB / 0.9603 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.189e-05/0.8784, allocations: 22.02 kB / 0.9603 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8785, allocations: 0 / 0.9603 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.8785, allocations: 10.91 kB / 0.9603 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.8787, allocations: 7.875 kB / 0.9603 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.8791, allocations: 219.4 kB / 0.9605 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.8792, allocations: 0.6883 MB / 0.9612 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.8792, allocations: 6.969 kB / 0.9612 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.8793, allocations: 10.53 kB / 0.9612 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8793, allocations: 0 / 0.9612 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.8923, allocations: 1.943 MB / 0.9631 GB, free: 40 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.8926, allocations: 272.1 kB / 0.9634 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.644, allocations: 5.203 kB / 0.9634 GB, free: 15.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat