Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006145/0.006145, allocations: 104.5 kB / 15.73 MB, free: 5.578 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.001439/0.00144, allocations: 188.5 kB / 16.67 MB, free: 5.52 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 295.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9371/0.9371, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 95.86 kB / 0.6815 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.395, allocations: 86.97 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004227/0.3993, allocations: 3.023 MB / 0.7694 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.4023, allocations: 2.152 MB / 0.7715 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.4025, allocations: 8 kB / 0.7715 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.404, allocations: 0.4913 MB / 0.772 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.4044, allocations: 154.8 kB / 0.7721 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.4045, allocations: 59.94 kB / 0.7722 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.405, allocations: 445.8 kB / 0.7726 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.4052, allocations: 155.2 kB / 0.7727 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.4054, allocations: 159.4 kB / 0.7729 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.4057, allocations: 183.1 kB / 0.7731 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.4057, allocations: 40 kB / 0.7731 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.4058, allocations: 36 kB / 0.7731 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.4059, allocations: 95.66 kB / 0.7732 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.4061, allocations: 218.9 kB / 0.7734 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.4066, allocations: 0.5411 MB / 0.774 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4066, allocations: 0 / 0.774 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.386e-06/0.4066, allocations: 0 / 0.774 GB, free: 12.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4066, allocations: 3.938 kB / 0.774 GB, free: 12.16 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001054/0.4077, allocations: 0.7006 MB / 0.7747 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4077, allocations: 8.031 kB / 0.7747 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.4078, allocations: 48.38 kB / 0.7747 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.4084, allocations: 382 kB / 0.7751 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.4084, allocations: 16.81 kB / 0.7751 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.4084, allocations: 24.38 kB / 0.7751 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.4089, allocations: 203.5 kB / 0.7753 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4089, allocations: 0 / 0.7753 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.4089, allocations: 12 kB / 0.7753 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4089, allocations: 7.984 kB / 0.7753 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.4093, allocations: 161.6 kB / 0.7755 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.4105, allocations: 0.8623 MB / 0.7763 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.4108, allocations: 154.5 kB / 0.7765 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.411, allocations: 112.8 kB / 0.7766 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.411, allocations: 4 kB / 0.7766 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.411, allocations: 34.5 kB / 0.7766 GB, free: 9.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.411, allocations: 4 kB / 0.7766 GB, free: 9.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005979/0.4116, allocations: 260 kB / 0.7769 GB, free: 9.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4117, allocations: 55.41 kB / 0.7769 GB, free: 8.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.4122, allocations: 417.7 kB / 0.7773 GB, free: 8.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4122, allocations: 29.7 kB / 0.7774 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.4123, allocations: 204.2 kB / 0.7775 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.4124, allocations: 63.11 kB / 0.7776 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.4125, allocations: 33.7 kB / 0.7776 GB, free: 8.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4126, allocations: 346.8 kB / 0.778 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4128, allocations: 51.97 kB / 0.778 GB, free: 7.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.413, allocations: 67.92 kB / 0.7781 GB, free: 7.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.4132, allocations: 131 kB / 0.7782 GB, free: 7.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4133, allocations: 3.938 kB / 0.7782 GB, free: 7.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003893/0.4137, allocations: 210.8 kB / 0.7784 GB, free: 7.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4137, allocations: 4 kB / 0.7784 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4137, allocations: 0 / 0.7784 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4137, allocations: 7.938 kB / 0.7784 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.414, allocations: 55.97 kB / 0.7785 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.414, allocations: 0 / 0.7785 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4141, allocations: 23.83 kB / 0.7785 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4142, allocations: 4 kB / 0.7785 GB, free: 7.285 MB / 0.545 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001521/0.4143, allocations: 168.2 kB / 0.7787 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.4144, allocations: 35.53 kB / 0.7787 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.154e-05/0.4145, allocations: 43.53 kB / 0.7787 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4145, allocations: 4 kB / 0.7787 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4145, allocations: 0 / 0.7787 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.4145, allocations: 7.984 kB / 0.7788 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.4149, allocations: 381.2 kB / 0.7791 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4149, allocations: 0 / 0.7791 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.4152, allocations: 55.91 kB / 0.7792 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4152, allocations: 0 / 0.7792 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4152, allocations: 7.938 kB / 0.7792 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4152, allocations: 3.984 kB / 0.7792 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4152, allocations: 0 / 0.7792 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.4158, allocations: 374.9 kB / 0.7795 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4159, allocations: 124.7 kB / 0.7797 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.416, allocations: 3.938 kB / 0.7797 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.4161, allocations: 11.98 kB / 0.7797 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.4162, allocations: 7.984 kB / 0.7797 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4162, allocations: 12.06 kB / 0.7797 GB, free: 5.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003203/0.4165, allocations: 303.1 kB / 0.78 GB, free: 5.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4165, allocations: 3.938 kB / 0.78 GB, free: 5.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003314/0.4169, allocations: 67.91 kB / 0.78 GB, free: 5.609 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001387/0.417, allocations: 115.1 kB / 0.7802 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.4174, allocations: 139.8 kB / 0.7803 GB, free: 5.352 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4174, allocations: 4 kB / 0.7803 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4176, allocations: 87.89 kB / 0.7804 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.4181, allocations: 84.95 kB / 0.7805 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4194, allocations: 0.7496 MB / 0.7812 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.4197, allocations: 0.7951 MB / 0.782 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.4199, allocations: 34.97 kB / 0.782 GB, free: 3.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.4199, allocations: 23.44 kB / 0.782 GB, free: 3.527 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4199, allocations: 0 / 0.782 GB, free: 3.527 MB / 0.545 GB Notification: Performance of Templates: time 0.008068/0.428, allocations: 4.012 MB / 0.7859 GB, free: 15.63 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)