Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009468/0.0009469, allocations: 103 kB / 15.06 MB, free: 1.098 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.000962/0.0009621, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9936/0.9936, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 12 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1869, allocations: 83.41 MB / 0.5973 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003426/0.1903, allocations: 2.399 MB / 0.5997 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.1933, allocations: 1.918 MB / 0.6015 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.1936, allocations: 4 kB / 0.6016 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.1951, allocations: 450.4 kB / 0.602 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.1955, allocations: 147.6 kB / 0.6021 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1957, allocations: 39.97 kB / 0.6022 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1961, allocations: 323 kB / 0.6025 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.1963, allocations: 119 kB / 0.6026 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1965, allocations: 131.4 kB / 0.6027 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1967, allocations: 155.3 kB / 0.6029 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.1967, allocations: 16 kB / 0.6029 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.1968, allocations: 20 kB / 0.6029 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.1969, allocations: 71.75 kB / 0.603 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.197, allocations: 113.5 kB / 0.6031 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1973, allocations: 462.6 kB / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1973, allocations: 0 / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1973, allocations: 0 / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1974, allocations: 3.938 kB / 0.6035 GB, free: 1.414 MB / 0.4981 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.0008853/0.1982, allocations: 0.6501 MB / 0.6041 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1983, allocations: 8.031 kB / 0.6042 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.1984, allocations: 47.39 kB / 0.6042 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1988, allocations: 369 kB / 0.6046 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1988, allocations: 12.44 kB / 0.6046 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1989, allocations: 23.91 kB / 0.6046 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.1993, allocations: 203.3 kB / 0.6048 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1993, allocations: 4 kB / 0.6048 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1993, allocations: 4 kB / 0.6048 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1993, allocations: 4 kB / 0.6048 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2742/0.4735, allocations: 173.6 kB / 0.605 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.4746, allocations: 0.8773 MB / 0.6058 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4749, allocations: 154.5 kB / 0.606 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4749, allocations: 4.5 kB / 0.606 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.475, allocations: 33.16 kB / 0.606 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.475, allocations: 3.031 kB / 0.606 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000526/0.4755, allocations: 270.3 kB / 0.6063 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.4755, allocations: 55.06 kB / 0.6063 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.4759, allocations: 415.1 kB / 0.6067 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.4759, allocations: 28.27 kB / 0.6067 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.476, allocations: 211.8 kB / 0.6069 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.4761, allocations: 65.81 kB / 0.607 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.4761, allocations: 3.375 kB / 0.607 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.4762, allocations: 348.8 kB / 0.6073 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.4763, allocations: 60.64 kB / 0.6074 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.4764, allocations: 66.06 kB / 0.6075 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.4766, allocations: 67.19 kB / 0.6075 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4766, allocations: 3.953 kB / 0.6075 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003273/0.4769, allocations: 215.9 kB / 0.6077 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4769, allocations: 6.641 kB / 0.6077 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4769, allocations: 2.969 kB / 0.6077 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.477, allocations: 0 / 0.6077 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.4772, allocations: 64.56 kB / 0.6078 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4772, allocations: 2.875 kB / 0.6078 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.4774, allocations: 23.8 kB / 0.6078 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4774, allocations: 5.25 kB / 0.6078 GB, free: 40.07 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.4776, allocations: 164.5 kB / 0.608 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.4776, allocations: 35.59 kB / 0.608 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.4777, allocations: 47.89 kB / 0.6081 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4777, allocations: 2.781 kB / 0.6081 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4777, allocations: 0 / 0.6081 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4777, allocations: 1.828 kB / 0.6081 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.478, allocations: 369.1 kB / 0.6084 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.478, allocations: 0 / 0.6084 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.4783, allocations: 60.91 kB / 0.6085 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4783, allocations: 1.969 kB / 0.6085 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4783, allocations: 6.562 kB / 0.6085 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4783, allocations: 3.953 kB / 0.6085 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4783, allocations: 0 / 0.6085 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.4788, allocations: 395.8 kB / 0.6089 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.4789, allocations: 121.5 kB / 0.609 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.4789, allocations: 7.781 kB / 0.609 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4791, allocations: 17.05 kB / 0.609 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.4791, allocations: 13.47 kB / 0.609 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.4792, allocations: 10.16 kB / 0.609 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002462/0.4794, allocations: 295.3 kB / 0.6093 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4794, allocations: 0 / 0.6093 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000287/0.4797, allocations: 76.5 kB / 0.6094 GB, free: 39.36 MB / 0.4981 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 (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 9.121e-05/0.4798, allocations: 112.9 kB / 0.6095 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.4801, allocations: 156.3 kB / 0.6096 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4801, allocations: 0 / 0.6096 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.4803, allocations: 81.52 kB / 0.6097 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.4808, allocations: 92.7 kB / 0.6098 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009844/0.4817, allocations: 0.8914 MB / 0.6107 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.4819, allocations: 0.7992 MB / 0.6115 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.4821, allocations: 40 kB / 0.6115 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.4821, allocations: 22.38 kB / 0.6115 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4821, allocations: 0 / 0.6115 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.006065/0.4882, allocations: 3.564 MB / 0.615 GB, free: 37.91 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: