Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001015/0.001015, allocations: 105.2 kB / 16.27 MB, free: 5.953 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.001086/0.001086, allocations: 189.1 kB / 17.19 MB, free: 5.59 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.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 55.91 kB / 0.4912 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3153, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002133/0.3175, allocations: 1.358 MB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3197, allocations: 1.793 MB / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.3197, allocations: 0 / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.979e-05/0.3198, allocations: 9.688 kB / 0.5704 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.32, allocations: 35.75 kB / 0.5705 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.3223, allocations: 1.145 MB / 0.5716 GB, free: 30 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.464e-05/0.3224, allocations: 50.72 kB / 0.5716 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.3224, allocations: 2.969 kB / 0.5716 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.3225, allocations: 29.3 kB / 0.5717 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.3226, allocations: 33.92 kB / 0.5717 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3226, allocations: 1.312 kB / 0.5717 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3237, allocations: 0.845 MB / 0.5725 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.3238, allocations: 66.91 kB / 0.5726 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.3238, allocations: 69.14 kB / 0.5726 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009697/0.3248, allocations: 0.8745 MB / 0.5735 GB, free: 29.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3248, allocations: 0 / 0.5735 GB, free: 29.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3248, allocations: 1.281 kB / 0.5735 GB, free: 29.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3248, allocations: 1.125 kB / 0.5735 GB, free: 29.35 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005903/0.3254, allocations: 0.5778 MB / 0.5741 GB, free: 28.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3255, allocations: 10.72 kB / 0.5741 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3255, allocations: 44.41 kB / 0.5741 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3255, allocations: 25.39 kB / 0.5741 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.3257, allocations: 226 kB / 0.5744 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3257, allocations: 0.8906 kB / 0.5744 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.3257, allocations: 5.531 kB / 0.5744 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3259, allocations: 112.1 kB / 0.5745 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3259, allocations: 0 / 0.5745 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.3259, allocations: 0.5 kB / 0.5745 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3259, allocations: 1.5 kB / 0.5745 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.914e-05/0.326, allocations: 80.45 kB / 0.5745 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.3262, allocations: 281.2 kB / 0.5748 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.3263, allocations: 119.6 kB / 0.5749 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.3264, allocations: 112.9 kB / 0.575 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3265, allocations: 6.625 kB / 0.575 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.3265, allocations: 37.31 kB / 0.5751 GB, free: 28.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 9.51e-07/0.3265, allocations: 0 / 0.5751 GB, free: 28.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003446/0.3268, allocations: 332.1 kB / 0.5754 GB, free: 27.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.3269, allocations: 54.36 kB / 0.5754 GB, free: 27.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3271, allocations: 256.4 kB / 0.5757 GB, free: 27.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.3271, allocations: 27.95 kB / 0.5757 GB, free: 27.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.3271, allocations: 127.6 kB / 0.5758 GB, free: 27.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.3272, allocations: 106.5 kB / 0.5759 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3272, allocations: 30.23 kB / 0.576 GB, free: 27.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.3273, allocations: 346 kB / 0.5763 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.3274, allocations: 69.48 kB / 0.5764 GB, free: 27.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.3274, allocations: 74.53 kB / 0.5764 GB, free: 27.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3276, allocations: 206.2 kB / 0.5766 GB, free: 27.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3276, allocations: 0 / 0.5766 GB, free: 27.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001913/0.3278, allocations: 229.7 kB / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3278, allocations: 5.5 kB / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3278, allocations: 4.141 kB / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3279, allocations: 0 / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.3279, allocations: 1.375 kB / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3279, allocations: 0 / 0.5769 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.3279, allocations: 11.3 kB / 0.5769 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3279, allocations: 0.9688 kB / 0.5769 GB, free: 27.03 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.573e-05/0.328, allocations: 156.6 kB / 0.577 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.3281, allocations: 28.56 kB / 0.5771 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3283, allocations: 254.5 kB / 0.5773 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3283, allocations: 0.6875 kB / 0.5773 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3283, allocations: 2.172 kB / 0.5773 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3283, allocations: 0.875 kB / 0.5773 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.3285, allocations: 282.4 kB / 0.5776 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3285, allocations: 5.609 kB / 0.5776 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3285, allocations: 0 / 0.5776 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3285, allocations: 0 / 0.5776 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3285, allocations: 9.516 kB / 0.5776 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3285, allocations: 1.406 kB / 0.5776 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3285, allocations: 0 / 0.5776 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3288, allocations: 268.1 kB / 0.5778 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.3288, allocations: 101.5 kB / 0.5779 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.3288, allocations: 0.7969 kB / 0.5779 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.3289, allocations: 1.906 kB / 0.5779 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3289, allocations: 5.531 kB / 0.5779 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.3289, allocations: 5.688 kB / 0.578 GB, free: 26.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.329, allocations: 189.2 kB / 0.5781 GB, free: 26.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.329, allocations: 1.188 kB / 0.5781 GB, free: 26.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.3297, allocations: 212.1 kB / 0.5783 GB, free: 26.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009573/0.3306, allocations: 1.025 MB / 0.5793 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.3309, allocations: 272.7 kB / 0.5796 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3309, allocations: 0 / 0.5796 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.3311, allocations: 175.5 kB / 0.5798 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3313, allocations: 22.59 kB / 0.5798 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3334, allocations: 2.552 MB / 0.5823 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.3336, allocations: 0.7672 MB / 0.583 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.3336, allocations: 6.984 kB / 0.583 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.3337, allocations: 59.95 kB / 0.5831 GB, free: 23 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3337, allocations: 0.7812 kB / 0.5831 GB, free: 23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.3558, allocations: 7.645 MB / 0.5906 GB, free: 18.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/7.77, allocations: 6.609 kB / 0.5906 GB, free: 18.81 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)