Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 188.1 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4532/0.4532, allocations: 90.85 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 221.4 MB / 342.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009065, allocations: 93.61 kB / 415.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.537e-06, allocations: 0 / 493.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3291, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.443, allocations: 109.3 MB / 0.6596 GB, free: 0.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4433, allocations: 107.9 kB / 0.6597 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.04799/0.4913, allocations: 17.69 MB / 0.677 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.4913, allocations: 4 kB / 0.677 GB, free: 15.02 MB / 0.4948 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.0009864/0.4923, allocations: 0.5835 MB / 0.6776 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4924, allocations: 8.031 kB / 0.6776 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.4925, allocations: 43.44 kB / 0.6776 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.4932, allocations: 355.6 kB / 0.678 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4933, allocations: 8 kB / 0.678 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.4933, allocations: 17.88 kB / 0.678 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00029/0.4936, allocations: 120.9 kB / 0.6781 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.4939, allocations: 150.5 kB / 0.6783 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4939, allocations: 4 kB / 0.6783 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.494, allocations: 0 / 0.6783 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.494, allocations: 11.94 kB / 0.6783 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.4953, allocations: 0.8152 MB / 0.6791 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4954, allocations: 109.7 kB / 0.6792 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.4956, allocations: 92.91 kB / 0.6793 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4956, allocations: 11.94 kB / 0.6793 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.4956, allocations: 30.56 kB / 0.6793 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.4956, allocations: 0 / 0.6793 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.000326/0.496, allocations: 155.6 kB / 0.6795 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.496, allocations: 55.39 kB / 0.6795 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.4964, allocations: 330 kB / 0.6798 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4964, allocations: 25.7 kB / 0.6798 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.4965, allocations: 156.2 kB / 0.68 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.4966, allocations: 66.95 kB / 0.6801 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.4966, allocations: 0 / 0.6801 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4967, allocations: 350.8 kB / 0.6804 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.4968, allocations: 37.69 kB / 0.6804 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.4969, allocations: 40 kB / 0.6805 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.665e-05/0.497, allocations: 47.98 kB / 0.6805 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.497, allocations: 0 / 0.6805 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002382/0.4972, allocations: 172.2 kB / 0.6807 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4972, allocations: 4 kB / 0.6807 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4973, allocations: 8 kB / 0.6807 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4973, allocations: 0 / 0.6807 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.4976, allocations: 59.95 kB / 0.6807 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4976, allocations: 0 / 0.6807 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.4977, allocations: 23.89 kB / 0.6808 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4978, allocations: 4 kB / 0.6808 GB, free: 10.96 MB / 0.4948 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 () * 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 6.548e-05/0.4978, allocations: 104.9 kB / 0.6809 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.4979, allocations: 35.53 kB / 0.6809 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.498, allocations: 39.19 kB / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.498, allocations: 0 / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.498, allocations: 3.312 kB / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.498, allocations: 4 kB / 0.6809 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.4984, allocations: 334.5 kB / 0.6813 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4984, allocations: 0 / 0.6813 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.4987, allocations: 67.89 kB / 0.6813 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4987, allocations: 0 / 0.6813 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4987, allocations: 0 / 0.6813 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4987, allocations: 0 / 0.6813 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4987, allocations: 0 / 0.6813 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003863/0.4991, allocations: 328.3 kB / 0.6816 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.4992, allocations: 124.7 kB / 0.6818 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.4993, allocations: 0 / 0.6818 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4995, allocations: 11.98 kB / 0.6818 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.4995, allocations: 11.98 kB / 0.6818 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4995, allocations: 12 kB / 0.6818 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002911/0.4998, allocations: 260.6 kB / 0.682 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000316/0.5001, allocations: 87.73 kB / 0.6821 GB, free: 9.488 MB / 0.4948 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 () * 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 0.0003346/0.5005, allocations: 249.8 kB / 0.6824 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.5007, allocations: 115.1 kB / 0.6825 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5007, allocations: 0 / 0.6825 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.5008, allocations: 63.94 kB / 0.6825 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.5012, allocations: 66.83 kB / 0.6826 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.5022, allocations: 0.5146 MB / 0.6831 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.5027, allocations: 0.829 MB / 0.6839 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of SimCode: time 2.7e-07/0.5027, allocations: 0 / 0.6839 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of Templates: time 0.007503/0.5102, allocations: 3.619 MB / 0.6874 GB, free: 4.133 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)