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.00169/0.00169, allocations: 101.7 kB / 15.98 MB, free: 6.348 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.001396/0.001396, allocations: 197.8 kB / 16.91 MB, free: 6.191 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.266/1.266, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6849/0.6849, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.91 kB / 493.3 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3627, allocations: 76.16 MB / 0.5561 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004265/0.367, allocations: 3.059 MB / 0.5591 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.3698, allocations: 2.102 MB / 0.5611 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.3701, allocations: 10.69 kB / 0.5611 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.3716, allocations: 478.9 kB / 0.5616 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.372, allocations: 133.2 kB / 0.5617 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.3721, allocations: 49.5 kB / 0.5617 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.3727, allocations: 449.4 kB / 0.5622 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.3729, allocations: 148.9 kB / 0.5623 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.3732, allocations: 162.8 kB / 0.5625 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.3734, allocations: 184.4 kB / 0.5626 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.3735, allocations: 35.31 kB / 0.5627 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.3736, allocations: 35.97 kB / 0.5627 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3737, allocations: 99.33 kB / 0.5628 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.3739, allocations: 218.3 kB / 0.563 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.3745, allocations: 0.5391 MB / 0.5635 GB, free: 31.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3745, allocations: 2.344 kB / 0.5635 GB, free: 31.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3746, allocations: 0 / 0.5635 GB, free: 31.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.3746, allocations: 0.5625 kB / 0.5635 GB, free: 31.57 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.00107/0.3756, allocations: 0.7008 MB / 0.5642 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3757, allocations: 10.58 kB / 0.5642 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.3758, allocations: 62.41 kB / 0.5643 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.3759, allocations: 46.66 kB / 0.5643 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.3763, allocations: 377.1 kB / 0.5647 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.3764, allocations: 18.25 kB / 0.5647 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.3764, allocations: 19.19 kB / 0.5647 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.3769, allocations: 204.4 kB / 0.5649 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3769, allocations: 0.7188 kB / 0.5649 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.3769, allocations: 10.69 kB / 0.5649 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3769, allocations: 6.406 kB / 0.565 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.3773, allocations: 164.7 kB / 0.5651 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3785, allocations: 0.8619 MB / 0.566 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.3789, allocations: 157.3 kB / 0.5661 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.3791, allocations: 113.8 kB / 0.5662 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3791, allocations: 7.859 kB / 0.5662 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3792, allocations: 36.69 kB / 0.5663 GB, free: 29.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3792, allocations: 0 / 0.5663 GB, free: 29.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.000623/0.3798, allocations: 256.2 kB / 0.5665 GB, free: 29.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3799, allocations: 58.77 kB / 0.5666 GB, free: 29.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.3805, allocations: 419.2 kB / 0.567 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3806, allocations: 33.64 kB / 0.567 GB, free: 29.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3808, allocations: 204.1 kB / 0.5672 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.3809, allocations: 60.62 kB / 0.5672 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.3809, allocations: 39.95 kB / 0.5673 GB, free: 29.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3811, allocations: 348.2 kB / 0.5676 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3813, allocations: 54.25 kB / 0.5677 GB, free: 28.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3814, allocations: 59.11 kB / 0.5677 GB, free: 28.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3817, allocations: 131.9 kB / 0.5678 GB, free: 28.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3817, allocations: 3 kB / 0.5678 GB, free: 28.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003854/0.3821, allocations: 206.8 kB / 0.568 GB, free: 28.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3821, allocations: 4.812 kB / 0.568 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3822, allocations: 4.781 kB / 0.568 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3822, allocations: 5.719 kB / 0.5681 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3825, allocations: 60.14 kB / 0.5681 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3825, allocations: 1.156 kB / 0.5681 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.3827, allocations: 21.98 kB / 0.5681 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3827, allocations: 7.344 kB / 0.5681 GB, free: 28.46 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.0001406/0.3828, allocations: 166.4 kB / 0.5683 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3829, allocations: 37.02 kB / 0.5683 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.24e-05/0.383, allocations: 44.91 kB / 0.5684 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.383, allocations: 2 kB / 0.5684 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.383, allocations: 2.375 kB / 0.5684 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.383, allocations: 1.312 kB / 0.5684 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.3834, allocations: 375.3 kB / 0.5687 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3835, allocations: 0.5 kB / 0.5687 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3837, allocations: 52.11 kB / 0.5688 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3837, allocations: 2.156 kB / 0.5688 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3838, allocations: 9.812 kB / 0.5688 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3838, allocations: 1.5 kB / 0.5688 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3838, allocations: 0.5 kB / 0.5688 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.3844, allocations: 376.2 kB / 0.5692 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.3845, allocations: 114.8 kB / 0.5693 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.3845, allocations: 9.906 kB / 0.5693 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3847, allocations: 14.08 kB / 0.5693 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.3848, allocations: 10.61 kB / 0.5693 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3848, allocations: 4.812 kB / 0.5693 GB, free: 27.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.3851, allocations: 304.5 kB / 0.5696 GB, free: 27.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3851, allocations: 0 / 0.5696 GB, free: 27.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.3855, allocations: 71.56 kB / 0.5697 GB, free: 27.47 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.0007377/0.3862, allocations: 0.9284 MB / 0.5706 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.3866, allocations: 156.8 kB / 0.5707 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3866, allocations: 0 / 0.5707 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3868, allocations: 81.88 kB / 0.5708 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.3874, allocations: 100.7 kB / 0.5709 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.3917, allocations: 3.66 MB / 0.5745 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.392, allocations: 0.7941 MB / 0.5753 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.3922, allocations: 42.38 kB / 0.5753 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.3923, allocations: 119.2 kB / 0.5754 GB, free: 23.55 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3923, allocations: 0 / 0.5754 GB, free: 23.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.4183, allocations: 7.672 MB / 0.5829 GB, free: 22.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.4186, allocations: 274.9 kB / 0.5832 GB, free: 21.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.25, allocations: 0 / 0.5832 GB, free: 21.68 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)