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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001126/0.001126, allocations: 92.31 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.00198/0.00198, 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.365/1.365, allocations: 223.2 MB / 240 MB, free: 5.246 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.381/2.381, allocations: 390.4 MB / 0.6655 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 15.98 kB / 0.8149 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/0.7271, allocations: 142.3 MB / 0.9539 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001806/0.7289, allocations: 1.141 MB / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005111/0.7341, allocations: 2.651 MB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.7342, allocations: 0 / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.7342, allocations: 7.922 kB / 0.9576 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.897e-05/0.7343, allocations: 17.17 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.7391, allocations: 1.258 MB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.7392, allocations: 41.61 kB / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.7393, allocations: 5.359 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.7393, allocations: 16.19 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.7394, allocations: 12.19 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.7394, allocations: 1.375 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.7427, allocations: 1.253 MB / 0.9602 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.7427, allocations: 9.297 kB / 0.9602 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.7428, allocations: 28.45 kB / 0.9602 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.7445, allocations: 0.706 MB / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7445, allocations: 0 / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7445, allocations: 1.031 kB / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7445, allocations: 0 / 0.9609 GB, free: 3.195 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.001009/0.7456, allocations: 0.5139 MB / 0.9614 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.7456, allocations: 9.406 kB / 0.9614 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.7457, allocations: 113.8 kB / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.7458, allocations: 81.47 kB / 0.9616 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.7459, allocations: 255.4 kB / 0.9618 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.746, allocations: 151.9 kB / 0.962 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.746, allocations: 150.6 kB / 0.9621 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.259e-05/0.7461, allocations: 102.3 kB / 0.9622 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.7461, allocations: 79.28 kB / 0.9623 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.7462, allocations: 158.5 kB / 0.9624 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.7462, allocations: 156 kB / 0.9626 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.7462, allocations: 150.6 kB / 0.9627 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.7465, allocations: 461.4 kB / 0.9632 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.7466, allocations: 170.6 kB / 0.9633 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.7467, allocations: 81.52 kB / 0.9634 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.7467, allocations: 75.28 kB / 0.9635 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.7467, allocations: 111.2 kB / 0.9636 GB, free: 336 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.7468, allocations: 0 / 0.9636 GB, free: 336 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001033/0.7469, allocations: 40.28 kB / 0.9636 GB, free: 292 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.7469, allocations: 130.7 kB / 0.9638 GB, free: 148 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.7471, allocations: 132.8 kB / 0.9639 GB, free: 28 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.7472, allocations: 25.7 kB / 0.9639 GB, free: 16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.7473, allocations: 90.42 kB / 0.964 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.7473, allocations: 0 / 0.964 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.7473, allocations: 1.125 kB / 0.964 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.7475, allocations: 320 kB / 0.9643 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.7475, allocations: 11.34 kB / 0.9643 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.7476, allocations: 3.656 kB / 0.9643 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.7476, allocations: 11.66 kB / 0.9643 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7476, allocations: 1.219 kB / 0.9643 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.7478, allocations: 47.98 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.7479, allocations: 10.52 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.7479, allocations: 2.625 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.7479, allocations: 1.125 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-06/0.748, allocations: 3.938 kB / 0.9644 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.748, allocations: 3.953 kB / 0.9644 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.748, allocations: 5.469 kB / 0.9644 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.748, allocations: 1.25 kB / 0.9644 GB, free: 15.52 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.0001642/0.7482, allocations: 183.4 kB / 0.9646 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.7483, allocations: 115.3 kB / 0.9647 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.7484, allocations: 115.5 kB / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.599e-05/0.7485, allocations: 176.3 kB / 0.965 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.7486, allocations: 185.3 kB / 0.9651 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-05/0.7487, allocations: 181.6 kB / 0.9653 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.7491, allocations: 419.6 kB / 0.9657 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.328e-05/0.7492, allocations: 102.3 kB / 0.9658 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.7493, allocations: 102.3 kB / 0.9659 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.522e-05/0.7493, allocations: 181.6 kB / 0.9661 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/0.7494, allocations: 184.3 kB / 0.9663 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.819e-05/0.7495, allocations: 185.3 kB / 0.9664 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.684e-05/0.7496, allocations: 181.2 kB / 0.9666 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.7499, allocations: 308.6 kB / 0.9669 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.75, allocations: 188.1 kB / 0.9671 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.7501, allocations: 186.2 kB / 0.9673 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.7502, allocations: 102.3 kB / 0.9674 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.7503, allocations: 185.4 kB / 0.9675 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.7504, allocations: 106.4 kB / 0.9676 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.279e-05/0.7505, allocations: 105.5 kB / 0.9677 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7505, allocations: 4 kB / 0.9677 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001572/0.7521, allocations: 280.4 kB / 0.968 GB, free: 11.84 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.002138/0.7543, allocations: 1.139 MB / 0.9691 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.7544, allocations: 38.17 kB / 0.9692 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7544, allocations: 4.062 kB / 0.9692 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.7544, allocations: 1.094 kB / 0.9692 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.7552, allocations: 0.5316 MB / 0.9697 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.7566, allocations: 0.6912 MB / 0.9704 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.7569, allocations: 0.6848 MB / 0.971 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.7569, allocations: 3.984 kB / 0.971 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.757, allocations: 26.28 kB / 0.9711 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.757, allocations: 0 / 0.9711 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.7859, allocations: 6.854 MB / 0.9777 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.7863, allocations: 276.7 kB / 0.978 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.774, allocations: 0 / 0.978 GB, free: 5.281 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative_res.mat does not exist to compare? outputFormat=mat