Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7454/0.7454, allocations: 140.1 MB / 156 MB, free: 5.141 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 174.5 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 94.34 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001668/0.001668, allocations: 277.4 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.000643, allocations: 16 kB / 0.6621 GB, free: 6.727 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4064, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.5581, allocations: 128.5 MB / 0.865 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.5585, allocations: 123.9 kB / 0.8652 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04567/0.6042, allocations: 15.09 MB / 0.8799 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6042, allocations: 7.938 kB / 0.8799 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.6042, allocations: 4 kB / 0.8799 GB, free: 14.38 MB / 0.5573 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.000995/0.6052, allocations: 0.5692 MB / 0.8805 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6053, allocations: 16.02 kB / 0.8805 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.6053, allocations: 80.12 kB / 0.8805 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.6055, allocations: 243.6 kB / 0.8808 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.6056, allocations: 158.9 kB / 0.8809 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.6056, allocations: 154.9 kB / 0.8811 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/0.6057, allocations: 105.5 kB / 0.8812 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.6057, allocations: 75.47 kB / 0.8813 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.6058, allocations: 158.4 kB / 0.8814 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.6059, allocations: 150.6 kB / 0.8815 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.6059, allocations: 154.6 kB / 0.8817 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.6062, allocations: 465.9 kB / 0.8821 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.6063, allocations: 181.1 kB / 0.8823 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.6064, allocations: 80.14 kB / 0.8824 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.6064, allocations: 79.28 kB / 0.8825 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.6064, allocations: 109.8 kB / 0.8826 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.6065, allocations: 0 / 0.8826 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.677e-05/0.6065, allocations: 37.55 kB / 0.8826 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.6066, allocations: 130.6 kB / 0.8827 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.6068, allocations: 131.1 kB / 0.8829 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.6068, allocations: 25.7 kB / 0.8829 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.6069, allocations: 100.1 kB / 0.883 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.6069, allocations: 0 / 0.883 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.6069, allocations: 0 / 0.883 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.607, allocations: 314.8 kB / 0.8833 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.607, allocations: 4 kB / 0.8833 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.607, allocations: 7.938 kB / 0.8833 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.6071, allocations: 20.84 kB / 0.8833 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6071, allocations: 0 / 0.8833 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001331/0.6072, allocations: 49.55 kB / 0.8834 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6073, allocations: 13.25 kB / 0.8834 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.6073, allocations: 4 kB / 0.8834 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.6073, allocations: 4 kB / 0.8834 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.6073, allocations: 0 / 0.8834 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.6073, allocations: 0 / 0.8834 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.6074, allocations: 3.984 kB / 0.8834 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.6074, allocations: 0 / 0.8834 GB, free: 10.58 MB / 0.5573 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 9.289e-05/0.6075, allocations: 185.1 kB / 0.8836 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.6075, allocations: 112.8 kB / 0.8837 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.6076, allocations: 116.8 kB / 0.8838 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.166e-05/0.6077, allocations: 180.2 kB / 0.8839 GB, free: 9.973 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.296e-05/0.6077, allocations: 180.3 kB / 0.8841 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-05/0.6078, allocations: 180.3 kB / 0.8843 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.608, allocations: 417.2 kB / 0.8847 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/0.6081, allocations: 108.9 kB / 0.8848 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.6081, allocations: 105 kB / 0.8849 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.759e-05/0.6082, allocations: 180.2 kB / 0.8851 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.6083, allocations: 188.2 kB / 0.8852 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.879e-05/0.6084, allocations: 176.3 kB / 0.8854 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.189e-05/0.6084, allocations: 184.2 kB / 0.8856 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.6086, allocations: 311.7 kB / 0.8859 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.6087, allocations: 190 kB / 0.8861 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.6088, allocations: 180.2 kB / 0.8862 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.6088, allocations: 108.9 kB / 0.8863 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.6089, allocations: 185.2 kB / 0.8865 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.609, allocations: 101 kB / 0.8866 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.609, allocations: 108.4 kB / 0.8867 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/0.609, allocations: 0 / 0.8867 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001001/0.61, allocations: 331.4 kB / 0.887 GB, free: 6.617 MB / 0.5573 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.00142/0.6115, allocations: 0.5665 MB / 0.8876 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.601e-05/0.6116, allocations: 45.69 kB / 0.8876 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6116, allocations: 0 / 0.8876 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/0.6116, allocations: 4 kB / 0.8876 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.6121, allocations: 0.5224 MB / 0.8881 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.6124, allocations: 267.6 kB / 0.8884 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.6126, allocations: 0.6809 MB / 0.8891 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.672e-05/0.6127, allocations: 4 kB / 0.8891 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.6127, allocations: 7.438 kB / 0.8891 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.6127, allocations: 4 kB / 0.8891 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of Templates: time 0.3034/0.9161, allocations: 5.646 MB / 0.8946 GB, free: 140.2 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)