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.0009911/0.0009908, allocations: 99.86 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.0009166/0.0009166, 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.388/2.388, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000593/0.0005934, allocations: 12 kB / 0.8147 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8486, allocations: 142.3 MB / 0.9537 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001291/0.8499, allocations: 1.119 MB / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003526/0.8535, allocations: 2.577 MB / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.8536, allocations: 0 / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.8536, allocations: 1.25 kB / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.8537, allocations: 17.08 kB / 0.9573 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.8568, allocations: 1.248 MB / 0.9585 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.8569, allocations: 39.05 kB / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.8569, allocations: 2.75 kB / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.857, allocations: 10.81 kB / 0.9585 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.857, allocations: 20.17 kB / 0.9586 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.857, allocations: 1.375 kB / 0.9586 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.8587, allocations: 1.196 MB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.8588, allocations: 9.312 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.8588, allocations: 28.45 kB / 0.9598 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.8599, allocations: 0.7154 MB / 0.9605 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.8599, allocations: 0 / 0.9605 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8599, allocations: 0 / 0.9605 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.8599, allocations: 1.125 kB / 0.9605 GB, free: 3.316 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.0005884/0.8605, allocations: 0.5094 MB / 0.961 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.8606, allocations: 9.188 kB / 0.961 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.8606, allocations: 113.8 kB / 0.9611 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.8607, allocations: 81.5 kB / 0.9612 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.8608, allocations: 254.5 kB / 0.9614 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.8608, allocations: 151.7 kB / 0.9616 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.8609, allocations: 151.7 kB / 0.9617 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.108e-05/0.8609, allocations: 101 kB / 0.9618 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.861, allocations: 84.53 kB / 0.9619 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.861, allocations: 158.5 kB / 0.962 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.861, allocations: 150.6 kB / 0.9622 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.861, allocations: 155.8 kB / 0.9623 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.8613, allocations: 465.2 kB / 0.9628 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.965e-05/0.8613, allocations: 174.3 kB / 0.9629 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.8614, allocations: 76.44 kB / 0.963 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.8614, allocations: 105.8 kB / 0.9631 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.8614, allocations: 1.188 kB / 0.9631 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.77e-05/0.8615, allocations: 39.84 kB / 0.9631 GB, free: 496 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.8615, allocations: 134.6 kB / 0.9633 GB, free: 348 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.8617, allocations: 133.8 kB / 0.9634 GB, free: 228 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.8617, allocations: 25.7 kB / 0.9634 GB, free: 196 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.8617, allocations: 90.36 kB / 0.9635 GB, free: 104 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.8617, allocations: 0 / 0.9635 GB, free: 104 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.8618, allocations: 1.25 kB / 0.9635 GB, free: 104 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002706/0.862, allocations: 316.3 kB / 0.9638 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.8621, allocations: 7.656 kB / 0.9638 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.8621, allocations: 6.562 kB / 0.9638 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.8621, allocations: 8.875 kB / 0.9638 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8621, allocations: 0 / 0.9638 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.8623, allocations: 56.84 kB / 0.9639 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8624, allocations: 4.031 kB / 0.9639 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.8624, allocations: 3.156 kB / 0.9639 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.8624, allocations: 0.9688 kB / 0.9639 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.8624, allocations: 0 / 0.9639 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8624, allocations: 4.953 kB / 0.9639 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.8625, allocations: 5.094 kB / 0.9639 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.8625, allocations: 9.016 kB / 0.9639 GB, free: 15.71 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.0001196/0.8626, allocations: 185 kB / 0.9641 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.8627, allocations: 111.5 kB / 0.9642 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.138e-05/0.8628, allocations: 119.2 kB / 0.9643 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.375e-05/0.8629, allocations: 177.6 kB / 0.9645 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.105e-05/0.863, allocations: 176.3 kB / 0.9646 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.08e-05/0.8631, allocations: 189.3 kB / 0.9648 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.8634, allocations: 420.6 kB / 0.9652 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/0.8634, allocations: 104.9 kB / 0.9653 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.8635, allocations: 102.2 kB / 0.9654 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.473e-05/0.8636, allocations: 177.5 kB / 0.9656 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.8636, allocations: 185.4 kB / 0.9658 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/0.8637, allocations: 185.7 kB / 0.9659 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.988e-05/0.8638, allocations: 184.2 kB / 0.9661 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.8639, allocations: 312.8 kB / 0.9664 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.864, allocations: 188.3 kB / 0.9666 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/0.8641, allocations: 181.7 kB / 0.9668 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.8641, allocations: 110.3 kB / 0.9669 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.8642, allocations: 177.6 kB / 0.967 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.8642, allocations: 104.9 kB / 0.9671 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.8643, allocations: 105 kB / 0.9672 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8643, allocations: 1.156 kB / 0.9672 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008421/0.8652, allocations: 284.2 kB / 0.9675 GB, free: 12.03 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.001167/0.8663, allocations: 1.134 MB / 0.9686 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.57e-05/0.8665, allocations: 38.83 kB / 0.9687 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8665, allocations: 0 / 0.9687 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.8665, allocations: 9.562 kB / 0.9687 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.8668, allocations: 0.5253 MB / 0.9692 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.8675, allocations: 0.559 MB / 0.9697 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.8678, allocations: 0.6856 MB / 0.9704 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.8678, allocations: 1.031 kB / 0.9704 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.8679, allocations: 20.92 kB / 0.9704 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.8679, allocations: 0 / 0.9704 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.8901, allocations: 6.77 MB / 0.977 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.8904, allocations: 268.4 kB / 0.9773 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.929, allocations: 1.25 kB / 0.9773 GB, free: 5.566 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