Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 197.3 kB / 16.54 MB, free: 6.672 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 61.95 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2347, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002276/0.2371, allocations: 1.442 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.241, allocations: 2.896 MB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.241, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.241, allocations: 7.922 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.2411, allocations: 15.86 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.2442, allocations: 1.577 MB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.2443, allocations: 47.73 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.092e-05/0.2443, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.2443, allocations: 15.94 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.2444, allocations: 19.86 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.886e-06/0.2444, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.2462, allocations: 1.462 MB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.2462, allocations: 7.938 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.2463, allocations: 15.88 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2475, allocations: 1.111 MB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2475, allocations: 4 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2475, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2476, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 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.0005304/0.2481, allocations: 0.5244 MB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2481, allocations: 8.031 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.2482, allocations: 106 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.2483, allocations: 84.12 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.2484, allocations: 251.5 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.2485, allocations: 154.9 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.2485, allocations: 154.9 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.971e-05/0.2486, allocations: 104.9 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.2486, allocations: 83.22 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.2487, allocations: 150.6 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.2488, allocations: 154.6 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.2488, allocations: 162.5 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.2491, allocations: 465.8 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.933e-05/0.2492, allocations: 169.1 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.2493, allocations: 96.08 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.2493, allocations: 79.22 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.2494, allocations: 109.8 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2494, allocations: 0 / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.104e-05/0.2494, allocations: 25.7 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.2495, allocations: 130.7 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2496, allocations: 135.1 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.2496, allocations: 29.7 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.2497, allocations: 92.12 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.2497, allocations: 0 / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.2497, allocations: 17.72 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2499, allocations: 318.8 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.2499, allocations: 7.938 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.2499, allocations: 4 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.2499, allocations: 20.8 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2499, allocations: 4.031 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001075/0.2501, allocations: 53.53 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2501, allocations: 10.19 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2501, allocations: 4 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2501, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.2501, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.2501, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.2501, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.2502, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 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 0.000101/0.2503, allocations: 198.4 kB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.2503, allocations: 112.8 kB / 1.076 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.2504, allocations: 108.8 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.701e-05/0.2505, allocations: 180.2 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.579e-05/0.2505, allocations: 180.3 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.798e-05/0.2506, allocations: 184.2 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2508, allocations: 421.1 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/0.2509, allocations: 105 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.2509, allocations: 104.9 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.251, allocations: 176.3 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.2511, allocations: 188.2 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.53e-05/0.2512, allocations: 184.2 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.721e-05/0.2512, allocations: 180.2 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.2514, allocations: 311.7 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.2515, allocations: 193.9 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.2515, allocations: 176.3 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.2516, allocations: 105 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.2517, allocations: 188.1 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.2517, allocations: 101 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.2518, allocations: 103.2 kB / 1.079 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2518, allocations: 0 / 1.079 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005604/0.2524, allocations: 283.8 kB / 1.08 GB, free: 13.71 MB / 0.8419 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.001195/0.2536, allocations: 1.187 MB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.2537, allocations: 45.69 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2537, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2537, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.2541, allocations: 460.4 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2553, allocations: 1.592 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.2556, allocations: 0.6846 MB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.047e-06/0.2556, allocations: 0 / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.2557, allocations: 19.42 kB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.2557, allocations: 0 / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9679/1.224, allocations: 7.084 MB / 1.091 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.36, allocations: 18.69 kB / 1.091 GB, free: 2.688 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)