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.0006883/0.0006884, allocations: 91.53 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000728/0.000728, allocations: 178 kB / 16.58 MB, free: 6.398 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.176/1.176, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.606/0.606, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 8.719 kB / 493.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 77.11 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001103/0.1135, allocations: 1.082 MB / 0.558 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1156, allocations: 1.632 MB / 0.5596 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.1156, allocations: 0 / 0.5596 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.721e-05/0.1157, allocations: 11.92 kB / 0.5596 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.1158, allocations: 31.83 kB / 0.5596 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.1176, allocations: 0.9281 MB / 0.5605 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.219e-05/0.1177, allocations: 75.69 kB / 0.5606 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.1177, allocations: 3.984 kB / 0.5606 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.1178, allocations: 31.91 kB / 0.5607 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.1178, allocations: 47.84 kB / 0.5607 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.1179, allocations: 0 / 0.5607 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007912/0.1186, allocations: 0.6747 MB / 0.5614 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1187, allocations: 71.73 kB / 0.5614 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1188, allocations: 49.58 kB / 0.5615 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.1193, allocations: 0.5422 MB / 0.562 GB, free: 6.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1193, allocations: 4 kB / 0.562 GB, free: 6.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1193, allocations: 0 / 0.562 GB, free: 6.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1193, allocations: 0 / 0.562 GB, free: 6.438 MB / 430.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.0004837/0.1198, allocations: 0.5761 MB / 0.5626 GB, free: 5.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1198, allocations: 11.98 kB / 0.5626 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.1199, allocations: 42.55 kB / 0.5626 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.1199, allocations: 19.72 kB / 0.5626 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1201, allocations: 213.7 kB / 0.5628 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.1201, allocations: 3.953 kB / 0.5628 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.1201, allocations: 3.984 kB / 0.5629 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1202, allocations: 101.7 kB / 0.5629 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.1202, allocations: 0 / 0.5629 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.1202, allocations: 0 / 0.5629 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1202, allocations: 12 kB / 0.563 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.1203, allocations: 71.92 kB / 0.563 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.1205, allocations: 281.8 kB / 0.5633 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1207, allocations: 122.5 kB / 0.5634 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.1207, allocations: 112.8 kB / 0.5635 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1208, allocations: 0 / 0.5635 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1208, allocations: 34.56 kB / 0.5636 GB, free: 4.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 8.71e-07/0.1208, allocations: 0 / 0.5636 GB, free: 4.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003338/0.1211, allocations: 333.8 kB / 0.5639 GB, free: 4.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1212, allocations: 55.41 kB / 0.5639 GB, free: 4.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1214, allocations: 253 kB / 0.5642 GB, free: 4.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1214, allocations: 29.7 kB / 0.5642 GB, free: 3.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.1215, allocations: 124.7 kB / 0.5643 GB, free: 3.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.1215, allocations: 102.5 kB / 0.5644 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.1216, allocations: 0 / 0.5644 GB, free: 3.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1217, allocations: 346.8 kB / 0.5647 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.1217, allocations: 75.97 kB / 0.5648 GB, free: 3.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/0.1218, allocations: 76.75 kB / 0.5649 GB, free: 3.258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.1219, allocations: 104.1 kB / 0.565 GB, free: 3.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1219, allocations: 0 / 0.565 GB, free: 3.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001964/0.1221, allocations: 233.1 kB / 0.5652 GB, free: 2.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1221, allocations: 6.344 kB / 0.5652 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1221, allocations: 0 / 0.5652 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1221, allocations: 4 kB / 0.5652 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1221, allocations: 0 / 0.5652 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1222, allocations: 4.062 kB / 0.5652 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.1222, allocations: 7.844 kB / 0.5652 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1222, allocations: 4 kB / 0.5652 GB, free: 2.898 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.1223, allocations: 153.8 kB / 0.5654 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.1223, allocations: 23.67 kB / 0.5654 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.1226, allocations: 256.2 kB / 0.5656 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1226, allocations: 8.031 kB / 0.5657 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.1226, allocations: 0 / 0.5657 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1226, allocations: 0 / 0.5657 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1228, allocations: 281.8 kB / 0.5659 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1228, allocations: 0 / 0.5659 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1228, allocations: 0 / 0.5659 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1228, allocations: 0 / 0.5659 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1228, allocations: 3.953 kB / 0.5659 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.1228, allocations: 7.922 kB / 0.5659 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1228, allocations: 0 / 0.5659 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1231, allocations: 264.8 kB / 0.5662 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1231, allocations: 104.7 kB / 0.5663 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1231, allocations: 0 / 0.5663 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.1232, allocations: 3.953 kB / 0.5663 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.1232, allocations: 0 / 0.5663 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1232, allocations: 4 kB / 0.5663 GB, free: 1.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1233, allocations: 188.4 kB / 0.5665 GB, free: 1.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1233, allocations: 0 / 0.5665 GB, free: 1.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.1238, allocations: 207.9 kB / 0.5667 GB, free: 1.32 MB / 430.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 (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.0008711/0.1247, allocations: 0.9908 MB / 0.5676 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1249, allocations: 269.6 kB / 0.5679 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1249, allocations: 3.938 kB / 0.5679 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1251, allocations: 177.7 kB / 0.5681 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1253, allocations: 28.61 kB / 0.5681 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1268, allocations: 1.589 MB / 0.5697 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1271, allocations: 0.7751 MB / 0.5704 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.054e-05/0.1271, allocations: 3.906 kB / 0.5704 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.1272, allocations: 55.48 kB / 0.5705 GB, free: 13.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1272, allocations: 0 / 0.5705 GB, free: 13.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.1433, allocations: 7.387 MB / 0.5777 GB, free: 6.203 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.1436, allocations: 281.8 kB / 0.5779 GB, free: 5.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.802, allocations: 0 / 0.5779 GB, free: 5.848 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/linux/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) Environment - environmentSimulation: