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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 105.9 kB / 17.02 MB, free: 5.699 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.001067/0.001067, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7149/0.7149, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 494.8 MB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2985, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003441/0.302, allocations: 3.001 MB / 0.5605 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3042, allocations: 2.143 MB / 0.5626 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.3044, allocations: 9.906 kB / 0.5626 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.3056, allocations: 0.4927 MB / 0.5631 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.3059, allocations: 147.6 kB / 0.5633 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.306, allocations: 60.34 kB / 0.5633 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.3065, allocations: 448.1 kB / 0.5637 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.3067, allocations: 165.3 kB / 0.5639 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3069, allocations: 158.2 kB / 0.564 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.3071, allocations: 186.8 kB / 0.5642 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.3071, allocations: 34.12 kB / 0.5643 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.3072, allocations: 35.31 kB / 0.5643 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.763e-05/0.3073, allocations: 94.05 kB / 0.5644 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.3075, allocations: 222.2 kB / 0.5646 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.308, allocations: 0.545 MB / 0.5651 GB, free: 31.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.308, allocations: 0 / 0.5651 GB, free: 31.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.308, allocations: 0 / 0.5651 GB, free: 31.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.308, allocations: 0.9688 kB / 0.5651 GB, free: 31.85 MB / 446.1 MB 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.0008943/0.3089, allocations: 0.6996 MB / 0.5658 GB, free: 31.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.309, allocations: 11.12 kB / 0.5658 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.309, allocations: 46.41 kB / 0.5659 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.3095, allocations: 385.7 kB / 0.5662 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3095, allocations: 17 kB / 0.5663 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.3096, allocations: 22.3 kB / 0.5663 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.3099, allocations: 201.7 kB / 0.5665 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3099, allocations: 5.641 kB / 0.5665 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.31, allocations: 10.78 kB / 0.5665 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.31, allocations: 3.969 kB / 0.5665 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.3103, allocations: 166.2 kB / 0.5666 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3114, allocations: 0.8605 MB / 0.5675 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.3116, allocations: 151.2 kB / 0.5676 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3118, allocations: 113.5 kB / 0.5677 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3119, allocations: 3.25 kB / 0.5677 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.3119, allocations: 37.45 kB / 0.5678 GB, free: 30.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.3119, allocations: 0 / 0.5678 GB, free: 30.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005305/0.3124, allocations: 254.5 kB / 0.568 GB, free: 29.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.3125, allocations: 58.38 kB / 0.5681 GB, free: 29.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.3129, allocations: 418 kB / 0.5685 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.3129, allocations: 28.02 kB / 0.5685 GB, free: 29.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.313, allocations: 207.6 kB / 0.5687 GB, free: 29.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3131, allocations: 64.31 kB / 0.5688 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.3131, allocations: 31.3 kB / 0.5688 GB, free: 29.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.3132, allocations: 348.3 kB / 0.5691 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3133, allocations: 57.8 kB / 0.5692 GB, free: 29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.3135, allocations: 57.05 kB / 0.5692 GB, free: 28.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3137, allocations: 136.3 kB / 0.5694 GB, free: 28.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3137, allocations: 1.5 kB / 0.5694 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003407/0.3141, allocations: 208.3 kB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3141, allocations: 6.812 kB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3141, allocations: 1.688 kB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3141, allocations: 5.031 kB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3144, allocations: 53.91 kB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3144, allocations: 2.516 kB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3145, allocations: 24.73 kB / 0.5696 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3146, allocations: 4.031 kB / 0.5697 GB, free: 28.8 MB / 446.1 MB 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.0001199/0.3147, allocations: 166 kB / 0.5698 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.3148, allocations: 37.39 kB / 0.5698 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.3148, allocations: 44.62 kB / 0.5699 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3148, allocations: 2.734 kB / 0.5699 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3148, allocations: 1.25 kB / 0.5699 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3149, allocations: 2.078 kB / 0.5699 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.3152, allocations: 379.5 kB / 0.5703 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3152, allocations: 0.5156 kB / 0.5703 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3155, allocations: 58.58 kB / 0.5703 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3155, allocations: 6.828 kB / 0.5703 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3155, allocations: 5.188 kB / 0.5703 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3155, allocations: 2.266 kB / 0.5703 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3155, allocations: 0.9688 kB / 0.5703 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.3161, allocations: 380 kB / 0.5707 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.3162, allocations: 119.4 kB / 0.5708 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.3162, allocations: 5.688 kB / 0.5708 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3164, allocations: 12.48 kB / 0.5708 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3164, allocations: 9.656 kB / 0.5708 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3165, allocations: 7.812 kB / 0.5708 GB, free: 27.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.3168, allocations: 302.4 kB / 0.5711 GB, free: 27.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3168, allocations: 0 / 0.5711 GB, free: 27.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.3171, allocations: 71.94 kB / 0.5712 GB, free: 27.8 MB / 446.1 MB 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 9.12e-05/0.3172, allocations: 108.5 kB / 0.5713 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.3175, allocations: 147.1 kB / 0.5714 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3175, allocations: 1.281 kB / 0.5714 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3177, allocations: 78 kB / 0.5715 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.3182, allocations: 100.1 kB / 0.5716 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3193, allocations: 0.7542 MB / 0.5723 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3195, allocations: 0.8017 MB / 0.5731 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3197, allocations: 31.36 kB / 0.5732 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.3197, allocations: 23.5 kB / 0.5732 GB, free: 26.48 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3197, allocations: 1.469 kB / 0.5732 GB, free: 26.48 MB / 446.1 MB Notification: Performance of Templates: time 0.008136/0.3279, allocations: 3.937 MB / 0.577 GB, free: 26.25 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)