Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, 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.001952/0.001952, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.83 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002617/0.3068, allocations: 1.438 MB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004666/0.3115, allocations: 2.896 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.3116, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.3117, allocations: 7.922 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.3117, allocations: 11.86 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.3164, allocations: 1.595 MB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.3165, allocations: 43.73 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.3165, allocations: 7.984 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.3166, allocations: 15.94 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.3166, allocations: 19.86 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.3166, allocations: 0 / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.319, allocations: 1.466 MB / 1.076 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.319, allocations: 3.938 kB / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.3191, allocations: 23.88 kB / 1.076 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.3211, allocations: 1.103 MB / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.689e-05/0.3211, allocations: 0 / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3211, allocations: 0 / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3211, allocations: 0 / 1.077 GB, free: 1.703 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.0007456/0.3219, allocations: 0.5262 MB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3219, allocations: 12.03 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.322, allocations: 80.2 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.3222, allocations: 243.6 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.3223, allocations: 162.9 kB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.3223, allocations: 154.9 kB / 1.078 GB, free: 460 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.653e-05/0.3224, allocations: 105.1 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.3225, allocations: 75.28 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.3225, allocations: 154.5 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.918e-05/0.3226, allocations: 154.6 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/0.3227, allocations: 150.6 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.323, allocations: 477.7 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.3231, allocations: 169.1 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.3231, allocations: 92.17 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.3232, allocations: 79.28 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.3232, allocations: 109.8 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.3232, allocations: 0 / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.113e-05/0.3233, allocations: 33.64 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.3234, allocations: 126.7 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3235, allocations: 135.3 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3236, allocations: 29.7 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.3236, allocations: 96.12 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.3237, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3237, allocations: 13.72 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3238, allocations: 322.8 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.3239, allocations: 4 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.3239, allocations: 4 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.3239, allocations: 16.92 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3239, allocations: 7.969 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.3241, allocations: 57.48 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3241, allocations: 4 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.3241, allocations: 7.984 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.3242, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.3242, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3242, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.3242, allocations: 4 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3242, allocations: 4 kB / 1.08 GB, free: 13.92 MB / 0.8419 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 9.729e-05/0.3243, allocations: 187.4 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.3244, allocations: 112.8 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.3244, allocations: 112.8 kB / 1.081 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/0.3245, allocations: 180.3 kB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.307e-05/0.3246, allocations: 184.2 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-05/0.3247, allocations: 176.3 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3249, allocations: 417.2 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.3249, allocations: 108.9 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.325, allocations: 101 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.821e-05/0.325, allocations: 188.2 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/0.3251, allocations: 176.3 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-05/0.3252, allocations: 180.3 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-05/0.3253, allocations: 184.2 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.3254, allocations: 315.7 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.3255, allocations: 185.9 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.3256, allocations: 180.2 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.3257, allocations: 112.9 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.3257, allocations: 176.3 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.3258, allocations: 112.9 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.3258, allocations: 96.83 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3259, allocations: 4 kB / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008244/0.3267, allocations: 279.8 kB / 1.084 GB, free: 10.01 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.001314/0.328, allocations: 0.5396 MB / 1.084 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3281, allocations: 37.7 kB / 1.084 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3281, allocations: 4 kB / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.3281, allocations: 0 / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.3285, allocations: 471.6 kB / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.3289, allocations: 240.7 kB / 1.085 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3292, allocations: 0.6807 MB / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.3292, allocations: 0 / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.3292, allocations: 11.44 kB / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3293, allocations: 0 / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of Templates: time 0.0105/0.3398, allocations: 5.659 MB / 1.091 GB, free: 2.359 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)