Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.006842/0.006842, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001848/0.001849, allocations: 203.5 kB / 16.68 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.034/1.034, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.91 kB / 0.5954 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3538, allocations: 82.03 MB / 0.6755 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001865/0.3557, allocations: 1.436 MB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.3597, allocations: 2.898 MB / 0.6797 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.3598, allocations: 0 / 0.6797 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.3598, allocations: 3.938 kB / 0.6797 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.3599, allocations: 13.89 kB / 0.6798 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.3631, allocations: 1.591 MB / 0.6813 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.3631, allocations: 47.2 kB / 0.6813 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.143e-05/0.3632, allocations: 6.047 kB / 0.6814 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.3632, allocations: 11.94 kB / 0.6814 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.3632, allocations: 15.31 kB / 0.6814 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.3633, allocations: 5.75 kB / 0.6814 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.3653, allocations: 1.54 MB / 0.6829 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.3653, allocations: 5.281 kB / 0.6829 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.3653, allocations: 19.88 kB / 0.6829 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3666, allocations: 1.104 MB / 0.684 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3666, allocations: 1.375 kB / 0.684 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3666, allocations: 0 / 0.684 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.3667, allocations: 0 / 0.684 GB, free: 10.86 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005595/0.3672, allocations: 0.5316 MB / 0.6845 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.3673, allocations: 9.625 kB / 0.6845 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.3673, allocations: 114 kB / 0.6846 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.3674, allocations: 82.92 kB / 0.6847 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3676, allocations: 247.7 kB / 0.6849 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.868e-05/0.3677, allocations: 150.9 kB / 0.6851 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.3678, allocations: 152.3 kB / 0.6852 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.436e-05/0.3678, allocations: 108.9 kB / 0.6853 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.3679, allocations: 80.66 kB / 0.6854 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.3679, allocations: 150.6 kB / 0.6856 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.368, allocations: 150.6 kB / 0.6857 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-05/0.3681, allocations: 155.9 kB / 0.6859 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.3684, allocations: 462.2 kB / 0.6863 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.3684, allocations: 177.1 kB / 0.6865 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.3685, allocations: 81.52 kB / 0.6865 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.3685, allocations: 83.16 kB / 0.6866 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.3686, allocations: 111.2 kB / 0.6867 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3686, allocations: 0 / 0.6867 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.635e-05/0.3687, allocations: 40.41 kB / 0.6868 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.3687, allocations: 126.7 kB / 0.6869 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3689, allocations: 137.5 kB / 0.687 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.3689, allocations: 25.7 kB / 0.687 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.3689, allocations: 99.2 kB / 0.6871 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3689, allocations: 0 / 0.6871 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.369, allocations: 14.66 kB / 0.6871 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3691, allocations: 320.9 kB / 0.6875 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.3691, allocations: 11.77 kB / 0.6875 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.3692, allocations: 6.75 kB / 0.6875 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.3692, allocations: 10.86 kB / 0.6875 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3692, allocations: 0 / 0.6875 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001121/0.3693, allocations: 52.89 kB / 0.6875 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.3693, allocations: 5.469 kB / 0.6875 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.3694, allocations: 6.797 kB / 0.6875 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.3694, allocations: 0 / 0.6875 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3694, allocations: 3.938 kB / 0.6875 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3694, allocations: 1.469 kB / 0.6875 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.3694, allocations: 9.516 kB / 0.6876 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3694, allocations: 3.938 kB / 0.6876 GB, free: 7.117 MB / 0.5137 GB 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.507e-05/0.3695, allocations: 184.9 kB / 0.6877 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.3696, allocations: 110.6 kB / 0.6878 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.3697, allocations: 115.9 kB / 0.688 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.995e-05/0.3697, allocations: 184.3 kB / 0.6881 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.1e-05/0.3698, allocations: 185.7 kB / 0.6883 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-05/0.3699, allocations: 181.3 kB / 0.6885 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.3702, allocations: 411.9 kB / 0.6889 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-05/0.3703, allocations: 110.5 kB / 0.689 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.3703, allocations: 104.9 kB / 0.6891 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.227e-05/0.3704, allocations: 182 kB / 0.6893 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.3705, allocations: 180.2 kB / 0.6894 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.066e-05/0.3705, allocations: 177.5 kB / 0.6896 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00012/0.3707, allocations: 177.4 kB / 0.6898 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.3708, allocations: 320.7 kB / 0.6901 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.3709, allocations: 188.9 kB / 0.6902 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.371, allocations: 180.2 kB / 0.6904 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.3711, allocations: 102.5 kB / 0.6905 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.3712, allocations: 189.4 kB / 0.6907 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.3712, allocations: 102.1 kB / 0.6908 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.3713, allocations: 102.9 kB / 0.6909 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3713, allocations: 0 / 0.6909 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005618/0.3719, allocations: 289.4 kB / 0.6912 GB, free: 3.441 MB / 0.5137 GB 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 (0): * Single equations (assignments): 0 * 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.001222/0.3731, allocations: 1.184 MB / 0.6923 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.3732, allocations: 37.42 kB / 0.6924 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3732, allocations: 1.281 kB / 0.6924 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.3732, allocations: 0 / 0.6924 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.3736, allocations: 471.9 kB / 0.6928 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3749, allocations: 1.592 MB / 0.6944 GB, free: 488 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3752, allocations: 0.6804 MB / 0.695 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.3752, allocations: 1.156 kB / 0.695 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.3753, allocations: 17.48 kB / 0.695 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of SimCode: time 1.864e-06/0.3753, allocations: 3.938 kB / 0.6951 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3098/0.6851, allocations: 7.131 MB / 0.702 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.29, allocations: 11.06 kB / 0.702 GB, free: 10.62 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)