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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001044/0.001044, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001146/0.001146, allocations: 172.7 kB / 15.95 MB, free: 208 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.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.359 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.468/2.468, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 12 kB / 0.8149 GB, free: 14.01 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7513, allocations: 142.3 MB / 0.9539 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001778/0.7531, allocations: 1.139 MB / 0.955 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004241/0.7574, allocations: 2.649 MB / 0.9576 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.7575, allocations: 0.9375 kB / 0.9576 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.7575, allocations: 3.938 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.7576, allocations: 17.92 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.7613, allocations: 1.266 MB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.7614, allocations: 37.06 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.7614, allocations: 5.891 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.7615, allocations: 24.27 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.7615, allocations: 11.34 kB / 0.9589 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.7615, allocations: 1.031 kB / 0.9589 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.7639, allocations: 1.249 MB / 0.9602 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.7639, allocations: 5.969 kB / 0.9602 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.7639, allocations: 28.98 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.7653, allocations: 0.7099 MB / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7654, allocations: 0 / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7654, allocations: 0.8125 kB / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7654, allocations: 4 kB / 0.9609 GB, free: 3.094 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008117/0.7662, allocations: 0.5098 MB / 0.9614 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7663, allocations: 13.88 kB / 0.9614 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.7663, allocations: 109.8 kB / 0.9615 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.7664, allocations: 81.56 kB / 0.9616 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.7665, allocations: 248 kB / 0.9618 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.7665, allocations: 155.5 kB / 0.962 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.7665, allocations: 155.6 kB / 0.9621 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.728e-05/0.7666, allocations: 101 kB / 0.9622 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.7666, allocations: 76.25 kB / 0.9623 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.7666, allocations: 158.5 kB / 0.9624 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.7667, allocations: 155.9 kB / 0.9626 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.7667, allocations: 158.5 kB / 0.9627 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.7669, allocations: 462 kB / 0.9632 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.767, allocations: 165.8 kB / 0.9633 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.767, allocations: 80.98 kB / 0.9634 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.767, allocations: 75.28 kB / 0.9635 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.7671, allocations: 114.8 kB / 0.9636 GB, free: 232 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.7671, allocations: 0 / 0.9636 GB, free: 232 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.644e-05/0.7671, allocations: 36.78 kB / 0.9636 GB, free: 192 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.7672, allocations: 130.7 kB / 0.9638 GB, free: 48 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.7673, allocations: 129.8 kB / 0.9639 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7674, allocations: 25.7 kB / 0.9639 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.7674, allocations: 99.17 kB / 0.964 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.7674, allocations: 4 kB / 0.964 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.7674, allocations: 0 / 0.964 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7676, allocations: 317 kB / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.7676, allocations: 7.047 kB / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.7676, allocations: 3 kB / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.7676, allocations: 8.812 kB / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7677, allocations: 3.938 kB / 0.9643 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.7678, allocations: 48.8 kB / 0.9644 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.7678, allocations: 5.344 kB / 0.9644 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.7678, allocations: 6.25 kB / 0.9644 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.7679, allocations: 1.094 kB / 0.9644 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-06/0.7679, allocations: 0 / 0.9644 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7679, allocations: 13 kB / 0.9644 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.7679, allocations: 0 / 0.9644 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.7679, allocations: 2.188 kB / 0.9644 GB, free: 15.42 MB / 0.7325 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001012/0.768, allocations: 182.2 kB / 0.9646 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.7681, allocations: 116 kB / 0.9647 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.7682, allocations: 115.2 kB / 0.9648 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.7682, allocations: 181.4 kB / 0.965 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-05/0.7683, allocations: 181.3 kB / 0.9651 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.327e-05/0.7684, allocations: 181.3 kB / 0.9653 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.7686, allocations: 414.9 kB / 0.9657 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/0.7687, allocations: 106.3 kB / 0.9658 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.7687, allocations: 106.2 kB / 0.9659 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.014e-05/0.7688, allocations: 185.2 kB / 0.9661 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.7688, allocations: 181.1 kB / 0.9663 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.568e-05/0.7689, allocations: 185.1 kB / 0.9664 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.464e-05/0.769, allocations: 177.2 kB / 0.9666 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.7691, allocations: 316.6 kB / 0.9669 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.7692, allocations: 184.1 kB / 0.9671 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.7693, allocations: 182.5 kB / 0.9673 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.7694, allocations: 106 kB / 0.9674 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.7695, allocations: 189.4 kB / 0.9675 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.7695, allocations: 106 kB / 0.9676 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.7696, allocations: 103.9 kB / 0.9677 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7696, allocations: 0 / 0.9677 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001038/0.7706, allocations: 275.6 kB / 0.968 GB, free: 11.74 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.001705/0.7724, allocations: 1.14 MB / 0.9691 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.7725, allocations: 46.84 kB / 0.9692 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7725, allocations: 0 / 0.9692 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.7725, allocations: 1.094 kB / 0.9692 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.773, allocations: 0.5296 MB / 0.9697 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.7741, allocations: 0.692 MB / 0.9704 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.7744, allocations: 0.6894 MB / 0.971 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.7744, allocations: 0 / 0.971 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.7745, allocations: 21.67 kB / 0.971 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of SimCode: time 2.976e-06/0.7745, allocations: 0 / 0.971 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.7985, allocations: 6.844 MB / 0.9777 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.7987, allocations: 272.5 kB / 0.978 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.75, allocations: 0 / 0.978 GB, free: 5.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube_res.mat does not exist to compare? outputFormat=mat