Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.004746/0.004746, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.001114/0.001114, allocations: 191.1 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2809, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002686/0.2836, allocations: 1.441 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004163/0.2878, allocations: 2.853 MB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.2879, allocations: 3.938 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.288, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.288, allocations: 19.78 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.292, allocations: 1.561 MB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.2921, allocations: 43.67 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2922, allocations: 8 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.2922, allocations: 15.92 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.713e-05/0.2923, allocations: 11.94 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2923, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.2946, allocations: 1.49 MB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.2946, allocations: 3.938 kB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.2947, allocations: 19.88 kB / 1.174 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.2966, allocations: 1.081 MB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2966, allocations: 0 / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2966, allocations: 8 kB / 1.175 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2966, allocations: 0 / 1.175 GB, free: 14.69 MB / 0.9356 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.0007145/0.2973, allocations: 0.5184 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2974, allocations: 8.031 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.2974, allocations: 114 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.2975, allocations: 80.22 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.2976, allocations: 253 kB / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.2977, allocations: 154.9 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.2978, allocations: 150.9 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.097e-05/0.2978, allocations: 116.9 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.2979, allocations: 75.28 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.2979, allocations: 150.6 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.298, allocations: 150.6 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.298, allocations: 154.6 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.2983, allocations: 461.9 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.2984, allocations: 173.1 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.2984, allocations: 80.14 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2985, allocations: 83.22 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.2985, allocations: 109.8 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.2985, allocations: 3.984 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.763e-05/0.2986, allocations: 29.69 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.2987, allocations: 134.6 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2988, allocations: 139.2 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2988, allocations: 25.7 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.2989, allocations: 88.14 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2989, allocations: 0 / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2989, allocations: 21.72 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.299, allocations: 314.8 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.299, allocations: 8 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.2991, allocations: 4 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.2991, allocations: 8.906 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2991, allocations: 4 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.2993, allocations: 57.59 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2993, allocations: 11.94 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2993, allocations: 0 / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2993, allocations: 0 / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.2993, allocations: 4 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.2993, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.2994, allocations: 3.906 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2994, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/0.2995, allocations: 197.1 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.2995, allocations: 109 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.2996, allocations: 112.8 kB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-05/0.2996, allocations: 176.3 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/0.2997, allocations: 180.2 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.758e-05/0.2998, allocations: 188.2 kB / 1.179 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.3, allocations: 417.1 kB / 1.179 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.3, allocations: 104.9 kB / 1.18 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.3001, allocations: 105 kB / 1.18 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.562e-05/0.3001, allocations: 180.2 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.3002, allocations: 184.2 kB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.458e-05/0.3003, allocations: 176.3 kB / 1.18 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.739e-05/0.3003, allocations: 188.2 kB / 1.18 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.3005, allocations: 311.7 kB / 1.181 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.3005, allocations: 189.9 kB / 1.181 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.3006, allocations: 176.3 kB / 1.181 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3007, allocations: 112.9 kB / 1.181 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.3008, allocations: 180.2 kB / 1.181 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.3008, allocations: 105 kB / 1.181 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.552e-05/0.3009, allocations: 105.2 kB / 1.181 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.5e-07/0.3009, allocations: 0 / 1.181 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008221/0.3017, allocations: 271.8 kB / 1.182 GB, free: 6.906 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/0.3032, allocations: 1.164 MB / 1.183 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.3033, allocations: 33.7 kB / 1.183 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3033, allocations: 4 kB / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.676e-06/0.3033, allocations: 3.938 kB / 1.183 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3037, allocations: 467.7 kB / 1.183 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3051, allocations: 1.577 MB / 1.185 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3054, allocations: 0.6807 MB / 1.186 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.3054, allocations: 4.031 kB / 1.186 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.3054, allocations: 19.42 kB / 1.186 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3054, allocations: 0 / 1.186 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3298, allocations: 6.878 MB / 1.192 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.026, allocations: 16.27 kB / 1.192 GB, free: 12.14 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)