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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004767/0.004767, allocations: 100.7 kB / 15.87 MB, free: 6.312 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.001241/0.001241, allocations: 193.9 kB / 16.79 MB, free: 6.242 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.232/1.232, allocations: 222.9 MB / 240.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6671/0.6671, allocations: 115.3 MB / 405.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 493 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3109, allocations: 76.18 MB / 0.5559 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003295/0.3143, allocations: 3.051 MB / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3162, allocations: 2.11 MB / 0.5609 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3164, allocations: 5.062 kB / 0.5609 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.3175, allocations: 474.8 kB / 0.5614 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.3177, allocations: 131.5 kB / 0.5615 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.327e-05/0.3178, allocations: 53.45 kB / 0.5615 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.3182, allocations: 459.9 kB / 0.562 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.3184, allocations: 142.1 kB / 0.5621 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3186, allocations: 144.6 kB / 0.5623 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.3188, allocations: 181.7 kB / 0.5624 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.3188, allocations: 22.84 kB / 0.5625 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.3189, allocations: 24.59 kB / 0.5625 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.319, allocations: 91.59 kB / 0.5626 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.3192, allocations: 209.3 kB / 0.5628 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.3196, allocations: 0.528 MB / 0.5633 GB, free: 31.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3196, allocations: 0 / 0.5633 GB, free: 31.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3196, allocations: 5.156 kB / 0.5633 GB, free: 31.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3197, allocations: 0 / 0.5633 GB, free: 31.61 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.0008557/0.3205, allocations: 0.6953 MB / 0.564 GB, free: 31.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3206, allocations: 14.25 kB / 0.564 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.3206, allocations: 59.81 kB / 0.564 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.3207, allocations: 46 kB / 0.5641 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.3211, allocations: 380.7 kB / 0.5644 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3211, allocations: 13.75 kB / 0.5645 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3211, allocations: 22.34 kB / 0.5645 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.3215, allocations: 205.5 kB / 0.5647 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3215, allocations: 1.188 kB / 0.5647 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3215, allocations: 5.922 kB / 0.5647 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3215, allocations: 10.88 kB / 0.5647 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.3219, allocations: 165.9 kB / 0.5648 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.3229, allocations: 0.8671 MB / 0.5657 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.3231, allocations: 152 kB / 0.5658 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.3234, allocations: 115 kB / 0.5659 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3234, allocations: 2.984 kB / 0.5659 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.3234, allocations: 35.5 kB / 0.566 GB, free: 29.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.3234, allocations: 1 kB / 0.566 GB, free: 29.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005398/0.3239, allocations: 258.1 kB / 0.5662 GB, free: 29.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.324, allocations: 55.03 kB / 0.5663 GB, free: 29.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.3244, allocations: 419.7 kB / 0.5667 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3244, allocations: 26.89 kB / 0.5667 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3245, allocations: 206.8 kB / 0.5669 GB, free: 29.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.3246, allocations: 60.39 kB / 0.567 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.3246, allocations: 35.09 kB / 0.567 GB, free: 29.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.3247, allocations: 349.3 kB / 0.5673 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3249, allocations: 57.78 kB / 0.5674 GB, free: 28.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.325, allocations: 64.08 kB / 0.5674 GB, free: 28.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.3253, allocations: 132.8 kB / 0.5676 GB, free: 28.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3253, allocations: 0 / 0.5676 GB, free: 28.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003364/0.3256, allocations: 211.3 kB / 0.5678 GB, free: 28.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3256, allocations: 7.266 kB / 0.5678 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3256, allocations: 3.938 kB / 0.5678 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3257, allocations: 1.156 kB / 0.5678 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.3259, allocations: 55.47 kB / 0.5678 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3259, allocations: 2.094 kB / 0.5678 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3261, allocations: 24.47 kB / 0.5679 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3261, allocations: 4.719 kB / 0.5679 GB, free: 28.51 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.0001176/0.3262, allocations: 162.8 kB / 0.568 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.3263, allocations: 35.56 kB / 0.5681 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.3263, allocations: 46.58 kB / 0.5681 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3263, allocations: 2 kB / 0.5681 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3263, allocations: 1.406 kB / 0.5681 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3264, allocations: 4.688 kB / 0.5681 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3267, allocations: 376.4 kB / 0.5685 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3267, allocations: 3.938 kB / 0.5685 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.327, allocations: 60.27 kB / 0.5685 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.327, allocations: 0.9062 kB / 0.5685 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.327, allocations: 9.891 kB / 0.5685 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.327, allocations: 1.562 kB / 0.5685 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.327, allocations: 1 kB / 0.5685 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.3275, allocations: 373.7 kB / 0.5689 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.3276, allocations: 123.6 kB / 0.569 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.3277, allocations: 10.84 kB / 0.569 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3278, allocations: 11.33 kB / 0.569 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.3279, allocations: 9.344 kB / 0.569 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.3279, allocations: 7.5 kB / 0.5691 GB, free: 27.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.3282, allocations: 300.4 kB / 0.5693 GB, free: 27.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3282, allocations: 0.5 kB / 0.5693 GB, free: 27.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3285, allocations: 78.81 kB / 0.5694 GB, free: 27.5 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 0.0006769/0.3292, allocations: 0.916 MB / 0.5703 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.3295, allocations: 149.5 kB / 0.5705 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3295, allocations: 0.5 kB / 0.5705 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3297, allocations: 81.84 kB / 0.5705 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.3302, allocations: 92.12 kB / 0.5706 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.3344, allocations: 3.654 MB / 0.5742 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3346, allocations: 0.7944 MB / 0.575 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3348, allocations: 39.28 kB / 0.575 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.3349, allocations: 121.8 kB / 0.5751 GB, free: 23.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.335, allocations: 0 / 0.5751 GB, free: 23.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.3524, allocations: 7.493 MB / 0.5824 GB, free: 22.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.3526, allocations: 269.6 kB / 0.5827 GB, free: 21.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.072, allocations: 4.031 kB / 0.5827 GB, free: 21.82 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)